Index: trunk/psLib/test/image/tst_psImageStats00.c
===================================================================
--- trunk/psLib/test/image/tst_psImageStats00.c	(revision 2392)
+++ trunk/psLib/test/image/tst_psImageStats00.c	(revision 2733)
@@ -186,8 +186,9 @@
 
     psFree( tmpMask );
-
-    psMemCheckCorruption( 1 );
+    psFree(myHist);
+    psFree(myHist2);
     psFree( tmpImage );
     psMemCheckCorruption( 1 );
+
     memLeaks = psMemCheckLeaks(currentId,NULL,stderr,false);
     if ( 0 != memLeaks ) {
