Index: trunk/psphot/src/apply_psf_model.c
===================================================================
--- trunk/psphot/src/apply_psf_model.c	(revision 4630)
+++ trunk/psphot/src/apply_psf_model.c	(revision 4642)
@@ -39,5 +39,8 @@
 	if (source->type == PS_SOURCE_SATURATED) continue;
 
-	source->modelPSF = NULL;
+	// do I even need to test?
+	if (source->modelPSF != NULL) {
+	  psFree (source->modelPSF);
+	}
 
 	// use the source moments, etc to guess basic model parameters
