Index: trunk/psLib/test/dataManip/tst_psMatrix04.c
===================================================================
--- trunk/psLib/test/dataManip/tst_psMatrix04.c	(revision 2204)
+++ trunk/psLib/test/dataManip/tst_psMatrix04.c	(revision 2392)
@@ -13,6 +13,6 @@
  *  @author  Ross Harman, MHPCC
  *
- *  @version $Revision: 1.5 $  $Name: not supported by cvs2svn $
- *  @date  $Date: 2004-10-27 00:57:33 $
+ *  @version $Revision: 1.6 $  $Name: not supported by cvs2svn $
+ *  @date  $Date: 2004-11-22 21:00:21 $
  *
  *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -86,5 +86,8 @@
     psFree(inImage);
     psFree(det2);
-    psMemCheckLeaks(0, NULL, stdout);
+    if(psMemCheckLeaks(0, NULL, stdout, false) != 0 ) {
+        psError(PS_ERR_UNKNOWN,true,"Memory leaks detected.");
+        return 10;
+    }
     psS32 nBad = psMemCheckCorruption(0);
     if(nBad) {
