IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Nov 22, 2004, 11:10:52 AM (22 years ago)
Author:
evanalst
Message:

Update psMemCheckLeaks function.

File:
1 edited

Legend:

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

    r2364 r2392  
    1414 *  @author  Ross Harman, MHPCC
    1515 *
    16  *  @version $Revision: 1.3 $  $Name: not supported by cvs2svn $
    17  *  @date  $Date: 2004-11-15 20:14:44 $
     16 *  @version $Revision: 1.4 $  $Name: not supported by cvs2svn $
     17 *  @date  $Date: 2004-11-22 20:52:45 $
    1818 *
    1919 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    7777    printPositiveTestHeader(stdout, "psTime", "Test G - Free data");
    7878    psTimeFinalize();
    79     psMemCheckLeaks(0, NULL, stdout);
     79    if( psMemCheckLeaks(0, NULL, stdout,false) != 0 ) {
     80        psError(PS_ERR_UNKNOWN,true,"Memory leak detected.");
     81        return 10;
     82    }
    8083    psMemCheckCorruption(0);
    8184    int nBad = psMemCheckCorruption(0);
Note: See TracChangeset for help on using the changeset viewer.