Index: trunk/psLib/test/sysUtils/tst_psLogMsg03.c
===================================================================
--- trunk/psLib/test/sysUtils/tst_psLogMsg03.c	(revision 832)
+++ 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);
 }
