IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Oct 8, 2004, 12:58:53 PM (22 years ago)
Author:
harman
Message:

Added memory leak checks

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/test/astronomy/tst_psTime_02.c

    r1615 r2024  
    99 *  @author  Ross Harman, MHPCC
    1010 *
    11  *  @version $Revision: 1.3 $  $Name: not supported by cvs2svn $
    12  *  @date  $Date: 2004-08-25 01:38:48 $
     11 *  @version $Revision: 1.4 $  $Name: not supported by cvs2svn $
     12 *  @date  $Date: 2004-10-08 22:58:47 $
    1313 *
    1414 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    3939    printFooter(stdout, "psTime", "Attempt to use null timeval", true);
    4040
     41
     42    // Test C - Free psMetadata
     43    printPositiveTestHeader(stdout, "psMetadata", "Test C - Free psMetadata");
     44    psMemCheckLeaks(0, NULL, stdout);
     45    psMemCheckCorruption(0);
     46    int nBad = psMemCheckCorruption(0);
     47    if(nBad) {
     48        printf("ERROR: Found %d bad memory blocks\n", nBad);
     49    }
     50    printFooter(stdout, "psMetadata", "Test C - Free psMetadata", true);
    4151    return 0;
    4252}
Note: See TracChangeset for help on using the changeset viewer.