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/collections/tst_psMetadataIO.c

    r2204 r2392  
    1313*  @author  Ross Harman, MHPCC
    1414*
    15 *  @version $Revision: 1.3 $  $Name: not supported by cvs2svn $
    16 *  @date  $Date: 2004-10-27 00:57:31 $
     15*  @version $Revision: 1.4 $  $Name: not supported by cvs2svn $
     16*  @date  $Date: 2004-11-22 20:53:39 $
    1717*
    1818*  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    174174    psFree(metadata2);
    175175    psFree(metadata3);
    176     psMemCheckLeaks(0, NULL, stdout);
     176    if(psMemCheckLeaks(0, NULL, stdout,false)) {
     177        psError(PS_ERR_UNKNOWN,true,"Memory leak detected");
     178        return 10;
     179    }
    177180    psMemCheckCorruption(0);
    178181    psS32 nBad = psMemCheckCorruption(0);
Note: See TracChangeset for help on using the changeset viewer.