Index: /trunk/psModules/src/config/pmConfig.c
===================================================================
--- /trunk/psModules/src/config/pmConfig.c	(revision 14674)
+++ /trunk/psModules/src/config/pmConfig.c	(revision 14675)
@@ -4,6 +4,6 @@
  *  @author EAM (IfA)
  *
- *  @version $Revision: 1.102 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2007-08-23 23:45:05 $
+ *  @version $Revision: 1.103 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2007-08-27 21:56:17 $
  *
  *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -544,5 +544,5 @@
             char *cameraName = argv[argNum]; // symbolic name of the camera
 
-	    // look for the CAMERAS list in config->site
+            // look for the CAMERAS list in config->site
             psMetadata *cameras = psMetadataLookupMetadata(&mdok, config->site, "CAMERAS");
             if (!cameras) {
@@ -553,6 +553,6 @@
 
             // look for the symbolic camera name in the CAMERAS metadata
-	    char *cameraFile = psMetadataLookupStr(&mdok, cameras, cameraName); // The filename
-	    if (!cameraFile) {
+            char *cameraFile = psMetadataLookupStr(&mdok, cameras, cameraName); // The filename
+            if (!cameraFile) {
                 psError(PS_ERR_IO, false, "%s is not listed in the site CAMERAS list\n", cameraName);
                 psFree(config);
@@ -560,5 +560,5 @@
             }
 
-	    // load this camera's configuration informatoin
+            // load this camera's configuration informatoin
             if (!pmConfigFileRead(&config->camera, cameraFile, "camera")) {
                 psError(PM_ERR_CONFIG, false, "Problem reading %s", cameraName);
@@ -566,7 +566,7 @@
                 return NULL;
             }
-	    // save the name for future uses
-	    config->cameraName = psStringCopy (cameraName);
-	    
+            // save the name for future uses
+            config->cameraName = psStringCopy (cameraName);
+
             psArgumentRemove(argNum, argc, argv);
 
@@ -1007,4 +1007,5 @@
         config->format = format;
     } else {
+        psFree(format);
         psFree(name);
     }
