diff options
author | lennart.augustsson@credit-suisse.com <unknown> | 2006-03-02 21:07:24 +0000 |
---|---|---|
committer | lennart.augustsson@credit-suisse.com <unknown> | 2006-03-02 21:07:24 +0000 |
commit | 1dfac5c8e457dccde541c2d38e702cb1567ed661 (patch) | |
tree | 2d7202324537eaaf5b16c8403671a562bbec1afc /ghc/rts/Storage.c | |
parent | c9b3d15f0a52f13764185b63c4eea4cfc9149b9d (diff) | |
download | haskell-1dfac5c8e457dccde541c2d38e702cb1567ed661.tar.gz |
Free all memory when shutting down. XXX not implemented for Posix.
Diffstat (limited to 'ghc/rts/Storage.c')
-rw-r--r-- | ghc/rts/Storage.c | 1 |
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(); } /* ----------------------------------------------------------------------------- |