Index: /branches/eam_branches/20091201/psModules/src/objects/pmSource.c
===================================================================
--- /branches/eam_branches/20091201/psModules/src/objects/pmSource.c	(revision 26622)
+++ /branches/eam_branches/20091201/psModules/src/objects/pmSource.c	(revision 26623)
@@ -411,4 +411,5 @@
 	if (peaks == NULL) {
             psError(PS_ERR_UNKNOWN, false, "failure in peak analysis for PSF clump.\n");
+	    psFree (peaks);
             return emptyClump;
 	}
@@ -422,4 +423,5 @@
                 psLogMsg ("psphot", 3, "no significant peak\n");
             }
+	    psFree (peaks);
             return (emptyClump);
         }
