Index: /trunk/psLib/test/sysUtils/tst_psMemory.c
===================================================================
--- /trunk/psLib/test/sysUtils/tst_psMemory.c	(revision 1241)
+++ /trunk/psLib/test/sysUtils/tst_psMemory.c	(revision 1242)
@@ -6,6 +6,6 @@
  *  @author Robert DeSonia, MHPCC
  *
- *  @version $Revision: 1.19 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2004-07-08 01:05:01 $
+ *  @version $Revision: 1.20 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2004-07-19 22:38:36 $
  *
  *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -35,6 +35,7 @@
 static psMemoryId memAllocateCallback(const psMemBlock *ptr);
 static psMemoryId memFreeCallback(const psMemBlock *ptr);
-int TPcheckLeaks(void);
-int TPmemCorruption(void);
+static int TPcheckLeaks(void);
+static int TPmemCorruption(void);
+static int TPmultipleFree(void);
 void memProblemCallback(const psMemBlock *ptr, const char *file, int lineno);
 
@@ -54,4 +55,5 @@
                               {TPmemCorruption,455,"psMemCorruption",0,false},
                               {TPFreeReferencedMemory,456,"freeReferencedMemory",0,false},
+                              {TPmultipleFree,699,"multipleFree",-6,false},
                               {NULL}
                           };
@@ -522,2 +524,15 @@
     return NULL;
 }
+
+int TPmultipleFree(void)
+{
+
+    void* buffer = psAlloc(1024);
+
+    psFree(buffer);
+
+    psLogMsg(__func__,PS_LOG_INFO,"Next should be an error about multiple freeing.");
+    psFree(buffer);
+
+    return 0;
+}
