Index: trunk/psLib/src/sys/psMemory.c
===================================================================
--- trunk/psLib/src/sys/psMemory.c	(revision 2562)
+++ trunk/psLib/src/sys/psMemory.c	(revision 2703)
@@ -8,6 +8,6 @@
 *  @author Robert Lupton, Princeton University
 *
-*  @version $Revision: 1.46 $ $Name: not supported by cvs2svn $
-*  @date $Date: 2004-12-01 00:56:32 $
+*  @version $Revision: 1.47 $ $Name: not supported by cvs2svn $
+*  @date $Date: 2004-12-13 20:49:56 $
 *
 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -431,10 +431,13 @@
         psMemBlock* ptr = ((psMemBlock* ) vptr) - 1;
 
-        psError(PS_ERR_MEMORY_DEREF_USAGE,true,
-                PS_ERRORTEXT_psMemory_MULTIPLE_FREE,
+        psAbort(__func__,PS_ERRORTEXT_psMemory_MULTIPLE_FREE,
                 ptr->id, ptr->file, ptr->lineno, file, lineno);
-
-        return;
-    }
+    }
+
+    if (checkMemBlock(ptr, __func__) != 0) {
+        memProblemCallback(ptr, file, lineno);
+        psAbort(__func__,"Memory Corruption Detected.");
+    }
+
     (void)p_psMemDecrRefCounter(vptr, file, lineno);    // this handles the free, if required.
 }
