Index: /trunk/psLib/src/types/psMetadataConfig.c
===================================================================
--- /trunk/psLib/src/types/psMetadataConfig.c	(revision 12528)
+++ /trunk/psLib/src/types/psMetadataConfig.c	(revision 12529)
@@ -11,6 +11,6 @@
 *  @author Joshua Hoblitt, University of Hawaii 2006-2007
 *
-*  @version $Revision: 1.132 $ $Name: not supported by cvs2svn $
-*  @date $Date: 2007-03-16 00:07:35 $
+*  @version $Revision: 1.133 $ $Name: not supported by cvs2svn $
+*  @date $Date: 2007-03-22 00:32:18 $
 *
 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
@@ -667,4 +667,7 @@
                        psMetadataFlags flags)
 {
+    // XXX This function is a monstrous abomination.  I have been slowly
+    // refactoring it as I fix bugs but it really needs to be split up into
+    // managable bits.
     bool               returnValue   = true;
     bool               addStatus     = false;
@@ -801,4 +804,10 @@
             return false;
         }
+
+        psFree(strComment);
+        psFree(strValue);
+        psFree(strType);
+
+        return true;
     }
 
