diff options
author | Simon Marlow <simonmar@microsoft.com> | 2006-08-08 10:31:10 +0000 |
---|---|---|
committer | Simon Marlow <simonmar@microsoft.com> | 2006-08-08 10:31:10 +0000 |
commit | 9f2ceb4da7dfbc1cfd09ce54610ebe64288b9007 (patch) | |
tree | c8a72bc8d7e4663c9b5f789d54a6a69bfbba4340 /includes/Stable.h | |
parent | 3098d2143a5865f8f1fba1d7d72132b140f2de94 (diff) | |
download | haskell-9f2ceb4da7dfbc1cfd09ce54610ebe64288b9007.tar.gz |
Remember to free() memory on exit
Patch mostly from Lennart Augustsson in #803, with additions to
Task.c by me.
Diffstat (limited to 'includes/Stable.h')
-rw-r--r-- | includes/Stable.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/includes/Stable.h b/includes/Stable.h index ca2e72118a..3eabb30ffe 100644 --- a/includes/Stable.h +++ b/includes/Stable.h @@ -55,6 +55,7 @@ extern StgPtr deRefStablePtr(StgStablePtr sp); #endif extern void initStablePtrTable ( void ); +extern void exitStablePtrTable ( void ); extern void enlargeStablePtrTable ( void ); extern StgWord lookupStableName ( StgPtr p ); @@ -63,4 +64,6 @@ extern void threadStablePtrTable ( evac_fn evac ); extern void gcStablePtrTable ( void ); extern void updateStablePtrTable ( rtsBool full ); +extern void exitHashTable ( void ); + #endif |