Index: trunk/psphot/src/psphotChoosePSF.c
===================================================================
--- trunk/psphot/src/psphotChoosePSF.c	(revision 6379)
+++ trunk/psphot/src/psphotChoosePSF.c	(revision 6427)
@@ -3,5 +3,5 @@
 // 2006.02.07 : no leaks!
 // try PSF models and select best option
-pmPSF *psphotChoosePSF (psMetadata *config, psArray *sources, psStats *skystats) { 
+pmPSF *psphotChoosePSF (psMetadata *config, psArray *sources) { 
 
     bool       	    status;
@@ -52,10 +52,7 @@
     psListIterator *iter = psListIteratorAlloc (list, PS_LIST_HEAD, FALSE); 
     for (int i = 0; i < models->n; i++) { 
-	// XXX psListGetAndIncrement does not increment ref counter!?
-	// XXX if it did, i should free 'item' below
 	psMetadataItem *item = psListGetAndIncrement (iter);
 	modelName = item->data.V;
 	models->data[i] = pmPSFtryModel (stars, modelName, RADIUS);
-	// psFree (item);
     }
     psFree (iter);
