Index: trunk/ppSub/src/ppSubMakePSF.c
===================================================================
--- trunk/ppSub/src/ppSubMakePSF.c	(revision 29937)
+++ trunk/ppSub/src/ppSubMakePSF.c	(revision 30619)
@@ -79,4 +79,5 @@
     if (!detections || !detections->allSources) {
         psError(PPSUB_ERR_CONFIG, true, "No sources from which to determine PSF.");
+        psFree(view);
         return false;
     }
@@ -86,4 +87,5 @@
     // use flags to toss totally bogus entries?
     psArray *goodSources = ppSubSelectPSFSources (sources);
+
     if (!psphotReadoutFindPSF(config, view, "PSPHOT.INPUT", goodSources)) {
         // This is likely a data quality issue
@@ -126,4 +128,5 @@
         outputRO = pmReadoutAlloc(outputCell);
         outputRO->image = psMemIncrRefCounter(inputRO->image);
+	psFree(outputRO); // I have a copy on the outputCell
     }
 
