Index: trunk/psphot/src/psphotDefinePixels.c
===================================================================
--- trunk/psphot/src/psphotDefinePixels.c	(revision 5980)
+++ trunk/psphot/src/psphotDefinePixels.c	(revision 5993)
@@ -49,9 +49,8 @@
     if (extend) {
 	// Grab a new subimage
-	// psFree (mySource->pixels);
-	// psFree (mySource->weight);
-	// psFree (mySource->mask);
+	psFree (mySource->pixels);
+	psFree (mySource->weight);
+	psFree (mySource->mask);
 
-	// fprintf (stderr, "extend %f,%f\n", x, y);
 	mySource->pixels = psImageSubset(imdata->image,  newRegion);
 	mySource->weight = psImageSubset(imdata->weight, newRegion);
@@ -62,6 +61,2 @@
     return extend;
 }
-
-
-//**** this function was ALWAYS restricting to model->radius
-//     should have left it larger (PSF_FIT_RAD) for the faint sources
