Index: trunk/psphot/src/psphotBasicDeblend.c
===================================================================
--- trunk/psphot/src/psphotBasicDeblend.c	(revision 5993)
+++ trunk/psphot/src/psphotBasicDeblend.c	(revision 6319)
@@ -1,4 +1,6 @@
 # include "psphot.h"
 
+// 2006.02.02 : no leaks? (creates source->blend entries)
+// XXX if I free sources, I still have 54 leaks?
 bool psphotBasicDeblend (psArray *sources, psMetadata *config, psStats *sky) { 
 
@@ -109,4 +111,5 @@
 		}
 	    }  
+	    psFree (contour);
 	}
     }
@@ -116,4 +119,8 @@
     if (!strcasecmp (breakPt, "DEBLEND")) exit (0);
 
+    psFree (SN);
+    psFree (index);
+    psFree (overlap);
+    
     return true;
 }
