IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 1695


Ignore:
Timestamp:
Sep 7, 2004, 9:04:44 AM (22 years ago)
Author:
desonia
Message:

cleared the error stack before checking for leaks.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/test/psTest.c

    r1406 r1695  
    148148            int currentId = psMemGetId();
    149149            int retVal = fcn();
     150            psErrorClear(); // clear the error stack before checking for leaks
    150151            if ( retVal == 0 ) { // only bother checking memory if test executed to end.
    151152                if ( psMemCheckLeaks( currentId, NULL, stderr ) != 0 ) {
     
    172173        int currentId = psMemGetId();
    173174        childReturn = fcn();
     175        psErrorClear(); // clear the error stack before checking for leaks
    174176        if ( childReturn == 0 ) { // only bother checking memory if test executed to end.
    175177            if ( psMemCheckLeaks( currentId, NULL, stderr ) != 0 ) {
Note: See TracChangeset for help on using the changeset viewer.