Index: trunk/psLib/test/collections/tst_psMetadataIO.c
===================================================================
--- trunk/psLib/test/collections/tst_psMetadataIO.c	(revision 3983)
+++ trunk/psLib/test/collections/tst_psMetadataIO.c	(revision 4112)
@@ -13,6 +13,6 @@
  *  @author  Eric Van Alst, MHPCC
  *
- *  @version $Revision: 1.17 $  $Name: not supported by cvs2svn $
- *  @date  $Date: 2005-05-19 20:59:00 $
+ *  @version $Revision: 1.18 $  $Name: not supported by cvs2svn $
+ *  @date  $Date: 2005-06-04 02:59:56 $
  *
  *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
@@ -929,8 +929,9 @@
     }
     // Verify return value is null
-    if(metadata1 != NULL) {
-        psError(PS_ERR_UNKNOWN,true,"Expected a NULL return for failed parse");
+    if(metadata1 == NULL) {
+        psError(PS_ERR_UNKNOWN,true,"Did not expected a NULL return for failed parse");
         return 2;
     }
+    psFree(metadata1);
 
     // Attempt parse a non-existant file
@@ -975,6 +976,6 @@
         return 1;
     }
-    if(metadata1 != NULL) {
-        psError(PS_ERR_UNKNOWN,true,"Expected a NULL return for failed due to overwrite false");
+    if(metadata1 == NULL) {
+        psError(PS_ERR_UNKNOWN,true,"Did not expected a NULL return for failed due to overwrite false");
         return 2;
     }
