Index: trunk/psLib/test/image/tst_psImageStats01.c
===================================================================
--- trunk/psLib/test/image/tst_psImageStats01.c	(revision 1229)
+++ trunk/psLib/test/image/tst_psImageStats01.c	(revision 1234)
@@ -160,8 +160,5 @@
     }
 
-    myStats = psImageStats(myStats, tmpImage, NULL, 0);
-    //
-    // NOTE: verify that myStats is good here.
-    //
+    myStats2 = psImageStats(myStats, tmpImage, NULL, 0);
 
     psFree(myStats);
Index: trunk/psLib/test/image/tst_psImageStats03.c
===================================================================
--- trunk/psLib/test/image/tst_psImageStats03.c	(revision 1229)
+++ trunk/psLib/test/image/tst_psImageStats03.c	(revision 1234)
@@ -62,4 +62,5 @@
 
 
+    psFree(tmpImage);
     psMemCheckCorruption(1);
     printFooter(stdout,
