projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[project @ 1997-03-14 02:24:54 by sof]
[ghc-hetmet.git]
/
ghc
/
runtime
/
storage
/
SMinit.lc
diff --git
a/ghc/runtime/storage/SMinit.lc
b/ghc/runtime/storage/SMinit.lc
index
4224c9a
..
6de8ecb
100644
(file)
--- a/
ghc/runtime/storage/SMinit.lc
+++ b/
ghc/runtime/storage/SMinit.lc
@@
-23,6
+23,8
@@
A filehandle to which any storage-manager statistics should be written.
rtsBool
exitSM (smInfo *sm_info)
{
+ /* Upon closing down the storage manager, we free all foreign objects */
+ freeForeigns(sm_info->ForeignObjList);
stat_exit(sm_info->hp - hp_start);
return rtsTrue; /* I'm happy */