Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Glasgow Haskell Compiler
GHC
Commits
a449ff3e
Commit
a449ff3e
authored
Mar 14, 1997
by
sof
Browse files
[project @ 1997-03-14 02:24:54 by sof]
Free foreign objects on exit
parent
449d4c61
Changes
1
Hide whitespace changes
Inline
Side-by-side
ghc/runtime/storage/SMinit.lc
View file @
a449ff3e
...
...
@@ -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 */
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment