Index: trunk/ppMerge/src/ppMerge.c
===================================================================
--- trunk/ppMerge/src/ppMerge.c	(revision 8405)
+++ trunk/ppMerge/src/ppMerge.c	(revision 8720)
@@ -2,5 +2,4 @@
 #include <pslib.h>
 #include <psmodules.h>
-#include <ppStats.h>
 
 #include "ppMerge.h"
@@ -50,10 +49,9 @@
     ppMergeCombine(scale, zero, data, options, config);
 
+    // Output the statistics
     if (data->statsFile) {
-        psMetadata *stats = ppStats(NULL, data->out, NULL, config); // Statistics for output FPA
-        psString statsOut = psMetadataConfigFormat(stats); // String to write out
+        psString statsOut = psMetadataConfigFormat(data->stats); // String to write out
         fprintf(data->statsFile, "%s", statsOut);
         psFree(statsOut);
-        psFree(stats);
     }
 
