Index: trunk/psLib/test/sysUtils/tst_psLogMsg00.c
===================================================================
--- trunk/psLib/test/sysUtils/tst_psLogMsg00.c	(revision 851)
+++ trunk/psLib/test/sysUtils/tst_psLogMsg00.c	(revision 852)
@@ -25,4 +25,5 @@
     int i = 0;
     int testStatus = true;
+    int currentId = psMemGetId();
 
     printPositiveTestHeader(stdout,
@@ -57,7 +58,11 @@
                 "default log levels",
                 testStatus);
+
+    if (psMemCheckLeaks(currentId,NULL,NULL) != 0) {
+        psAbort(__func__,"Memory Leaks!");
+    }
+    psMemCheckCorruption(1);
+
     return(!testStatus);
-
-
 }
 
Index: trunk/psLib/test/sysUtils/tst_psLogMsg01.c
===================================================================
--- trunk/psLib/test/sysUtils/tst_psLogMsg01.c	(revision 851)
+++ trunk/psLib/test/sysUtils/tst_psLogMsg01.c	(revision 852)
@@ -13,4 +13,5 @@
     int i = 0;
     int testStatus = true;
+    int currentId = psMemGetId();
 
     printPositiveTestHeader(stdout,
@@ -33,4 +34,10 @@
                 "psSetLogLevel()",
                 testStatus);
+
+    if (psMemCheckLeaks(currentId,NULL,NULL) != 0) {
+        psAbort(__func__,"Memory Leaks!");
+    }
+    psMemCheckCorruption(1);
+
     return(!testStatus);
 }
Index: trunk/psLib/test/sysUtils/tst_psLogMsg02.c
===================================================================
--- trunk/psLib/test/sysUtils/tst_psLogMsg02.c	(revision 851)
+++ trunk/psLib/test/sysUtils/tst_psLogMsg02.c	(revision 852)
@@ -13,4 +13,5 @@
     int i = 0;
     int testStatus = true;
+    int currentId = psMemGetId();
 
     printPositiveTestHeader(stdout,
@@ -65,4 +66,10 @@
                 "psSetLogFormat()",
                 testStatus);
+
+    if (psMemCheckLeaks(currentId,NULL,NULL) != 0) {
+        psAbort(__func__,"Memory Leaks!");
+    }
+    psMemCheckCorruption(1);
+
     return(!testStatus);
 }
Index: trunk/psLib/test/sysUtils/tst_psLogMsg03.c
===================================================================
--- trunk/psLib/test/sysUtils/tst_psLogMsg03.c	(revision 851)
+++ trunk/psLib/test/sysUtils/tst_psLogMsg03.c	(revision 852)
@@ -14,4 +14,5 @@
     int i = 0;
     int testStatus = true;
+    int currentId = psMemGetId();
 
     printPositiveTestHeader(stdout,
@@ -41,4 +42,10 @@
                 "psSetLogDestination()",
                 testStatus);
+
+    if (psMemCheckLeaks(currentId,NULL,NULL) != 0) {
+        psAbort(__func__,"Memory Leaks!");
+    }
+    psMemCheckCorruption(1);
+
     return(!testStatus);
 }
