Index: trunk/psphot/src/psphotCleanup.c
===================================================================
--- trunk/psphot/src/psphotCleanup.c	(revision 6964)
+++ trunk/psphot/src/psphotCleanup.c	(revision 7521)
@@ -1,5 +1,7 @@
 # include "psphot.h"
 
-void psphotCleanup () {
+void psphotCleanup (pmConfig *config) {
+
+    psFree (config);
 
     psTimerStop ();
