retire/catalog.cc
void fini() {
    for (int i = 0; i < num_catalogs; ++i)
      detach_intermediate(i);

    stmts_unlink.clear();
    stmts_update_inode.clear();
    stmts_update.clear();
    stmts_insert.clear();
    stmts_ls.clear();
    stmts_lookup_nested.clear();
    stmts_parent.clear();
    stmts_lookup.clear();
    stmts_lookup_inode.clear();

    catalog_urls.clear();
    catalog_files.clear();

    root_prefix = "";
    uid = gid = 0;
    num_catalogs = current_catalog = 0;
    teardownTLS();
  }
/**
   * Cleans up memory and open file handles.
   */
Cleans up memory and open file handles.
Cleans up memory and open file handles .
void fini() {
    for (int i = 0; i < num_catalogs; ++i)
      detach_intermediate(i);
    stmts_unlink.clear();
    stmts_update_inode.clear();
    stmts_update.clear();
    stmts_insert.clear();
    stmts_ls.clear();
    stmts_lookup_nested.clear();
    stmts_parent.clear();
    stmts_lookup.clear();
    stmts_lookup_inode.clear();
    catalog_urls.clear();
    catalog_files.clear();
    root_prefix = "";
    uid = gid = 0;
    num_catalogs = current_catalog = 0;
    teardownTLS();
  }
void fini ( ) { for ( int i = 0 ; i < num_catalogs ; ++ i ) detach_intermediate ( i ) ; stmts_unlink . clear ( ) ; stmts_update_inode . clear ( ) ; stmts_update . clear ( ) ; stmts_insert . clear ( ) ; stmts_ls . clear ( ) ; stmts_lookup_nested . clear ( ) ; stmts_parent . clear ( ) ; stmts_lookup . clear ( ) ; stmts_lookup_inode . clear ( ) ; catalog_urls . clear ( ) ; catalog_files . clear ( ) ; root_prefix = " " ; uid = gid = 0 ; num_catalogs = current_catalog = 0 ; teardownTLS ( ) ; }
Cleans up memory and open file handles.
Cleans up memory and open file handles .