Changeset 1810 for trunk/psLib/test/psTest.c
- Timestamp:
- Sep 14, 2004, 1:48:25 PM (22 years ago)
- File:
-
- 1 edited
-
trunk/psLib/test/psTest.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/test/psTest.c
r1699 r1810 149 149 int currentId = psMemGetId(); 150 150 int retVal = fcn(); 151 psErrorClear(); // clear the error stack before checking for leaks152 psTraceReset();153 151 if ( retVal == 0 ) { // only bother checking memory if test executed to end. 154 152 if ( psMemCheckLeaks( currentId, NULL, stderr ) != 0 ) { … … 175 173 int currentId = psMemGetId(); 176 174 childReturn = fcn(); 177 psErrorClear(); // clear the error stack before checking for leaks178 psTraceReset();179 175 if ( childReturn == 0 ) { // only bother checking memory if test executed to end. 180 176 if ( psMemCheckLeaks( currentId, NULL, stderr ) != 0 ) {
Note:
See TracChangeset
for help on using the changeset viewer.
