summaryrefslogtreecommitdiff
path: root/ghc/rts/Storage.c
diff options
context:
space:
mode:
Diffstat (limited to 'ghc/rts/Storage.c')
-rw-r--r--ghc/rts/Storage.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ghc/rts/Storage.c b/ghc/rts/Storage.c
index 4933854049..5e00a57026 100644
--- a/ghc/rts/Storage.c
+++ b/ghc/rts/Storage.c
@@ -266,6 +266,7 @@ void
exitStorage (void)
{
stat_exit(calcAllocated());
+ freeAllMBlocks();
}
/* -----------------------------------------------------------------------------