Index: /trunk/psphot/src/psphotImageLoop.c
===================================================================
--- /trunk/psphot/src/psphotImageLoop.c	(revision 12609)
+++ /trunk/psphot/src/psphotImageLoop.c	(revision 12610)
@@ -62,4 +62,6 @@
 	    return false;
 	}
+	// re-activate files so they will be closed and freed below
+	pmFPAfileActivate (config->files, true, NULL);
 
 	// there is now only a single chip (multiple readouts?). loop over it and process
