IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Oct 30, 2009, 3:47:06 PM (17 years ago)
Author:
bills
Message:

flesh out versioning and cleanup functions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ppbgrestore/src/ppbgrestoreCleanup.c

    r25972 r25973  
    33void ppbgrestoreCleanup(pmConfig *config, ppbgrestoreOptions *options)
    44{
    5     // XXX: todo
     5    // Free memory used by ppbgrestore
     6    psFree(options);
     7    psFree(config);
     8
     9    // Free memory used by psModules
     10    pmSourceFitSetDone ();
     11    pmConceptsDone();
     12    pmConfigDone();
     13    pmModelClassCleanup();
     14
     15    // Free memory used by psLib
     16    psLibFinalize();
     17
     18    // psMemBlock **memblocks;
     19    // int Nleaks = psMemCheckLeaks (0, &memblocks, stderr, false);
     20    // fprintf (stderr, "Found %d leaks at %s\n", Nleaks, "ppImage");
     21
     22    // fprintf(stderr, "Found %d leaks at %s\n", psMemCheckLeaks (0, NULL, NULL, false), "ppImage");
     23
     24    fprintf(stderr, "Found %d leaks at %s\n", psMemCheckLeaks (0, NULL, stdout, false), "ppbgrestore");
     25
    626}
Note: See TracChangeset for help on using the changeset viewer.