Don't generate stub files when -fno-code is given.
[ghc-hetmet.git] / ghc / rts / Storage.c
index 4933854..5e00a57 100644 (file)
@@ -266,6 +266,7 @@ void
 exitStorage (void)
 {
     stat_exit(calcAllocated());
+    freeAllMBlocks();
 }
 
 /* -----------------------------------------------------------------------------