[project @ 2001-08-08 14:40:01 by sewardj]
authorsewardj <unknown>
Wed, 8 Aug 2001 14:40:01 +0000 (14:40 +0000)
committersewardj <unknown>
Wed, 8 Aug 2001 14:40:01 +0000 (14:40 +0000)
commitad6b97453d90e1827ced0a02ef5478085406470c
tree307b7b240244d8d8a84a89ca6ae3f0005f6a4027
parent55e4af3c209d144f90e88b3a1dc7c6cf148b2176
[project @ 2001-08-08 14:40:01 by sewardj]
Attach finaliser for malloc'd blocks to the UnlinkedBCOs, not to
linked really-really-really BCOs.  This is because an unlinked BCO
may be copied many times to generated LinkedBCOs before it dies.
Attaching finalisers to linked BCOs could mean multiple free()s on
the same address.
ghc/compiler/ghci/ByteCodeLink.lhs