Changeset 1695
- Timestamp:
- Sep 7, 2004, 9:04:44 AM (22 years ago)
- File:
-
- 1 edited
-
trunk/psLib/test/psTest.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/test/psTest.c
r1406 r1695 148 148 int currentId = psMemGetId(); 149 149 int retVal = fcn(); 150 psErrorClear(); // clear the error stack before checking for leaks 150 151 if ( retVal == 0 ) { // only bother checking memory if test executed to end. 151 152 if ( psMemCheckLeaks( currentId, NULL, stderr ) != 0 ) { … … 172 173 int currentId = psMemGetId(); 173 174 childReturn = fcn(); 175 psErrorClear(); // clear the error stack before checking for leaks 174 176 if ( childReturn == 0 ) { // only bother checking memory if test executed to end. 175 177 if ( psMemCheckLeaks( currentId, NULL, stderr ) != 0 ) {
Note:
See TracChangeset
for help on using the changeset viewer.
