Index: /trunk/psLib/test/fits/tst_psFits.c
===================================================================
--- /trunk/psLib/test/fits/tst_psFits.c	(revision 5519)
+++ /trunk/psLib/test/fits/tst_psFits.c	(revision 5520)
@@ -6,6 +6,6 @@
 *  @author Robert DeSonia, MHPCC
 *
-*  @version $Revision: 1.13 $ $Name: not supported by cvs2svn $
-*  @date $Date: 2005-11-15 22:20:16 $
+*  @version $Revision: 1.14 $ $Name: not supported by cvs2svn $
+*  @date $Date: 2005-11-16 01:59:14 $
 *
 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
@@ -1325,5 +1325,6 @@
             return 7;
         }
-        if (strncmp(psMetadataLookupStr(NULL,md,"MYSTR"),strValue[row],
+        psString mystr = psMetadataLookupStr(NULL,md,"MYSTR");
+        if (strncmp(mystr,strValue[row],
                     strlen(strValue[row])) != 0) {
             psError(PS_ERR_UNKNOWN, false,
@@ -1333,4 +1334,5 @@
         }
         psFree(md);
+        psFree(mystr);
     }
 
