Massive patch for the first months work adding System FC to GHC #35
[ghc-hetmet.git] / rts / Stats.c
index ec8d583..248b0af 100644 (file)
@@ -537,6 +537,9 @@ stat_exit(int alloc)
        statsFlush();
        statsClose();
     }
+    if (GC_coll_times)
+      stgFree(GC_coll_times);
+    GC_coll_times = NULL;
 }
 
 /* -----------------------------------------------------------------------------