Index: trunk/psLib/test/psTest.c
===================================================================
--- trunk/psLib/test/psTest.c	(revision 1699)
+++ trunk/psLib/test/psTest.c	(revision 1810)
@@ -149,6 +149,4 @@
             int currentId = psMemGetId();
             int retVal = fcn();
-            psErrorClear(); // clear the error stack before checking for leaks
-            psTraceReset();
             if ( retVal == 0 ) { // only bother checking memory if test executed to end.
                 if ( psMemCheckLeaks( currentId, NULL, stderr ) != 0 ) {
@@ -175,6 +173,4 @@
         int currentId = psMemGetId();
         childReturn = fcn();
-        psErrorClear(); // clear the error stack before checking for leaks
-        psTraceReset();
         if ( childReturn == 0 ) { // only bother checking memory if test executed to end.
             if ( psMemCheckLeaks( currentId, NULL, stderr ) != 0 ) {
