Skip to content

malloc() without free()

The GHC runtime system contains a lot of malloc()s without any corresponding free(). This normally doesn't matter, but when you build a DLL which gets repeatedly loaded and unloaded it leads to memory leaks.

This patch fixes some of the malloc()s without free().

Trac metadata
Trac field Value
Version 6.4.2
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Compiler
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system Unknown
Architecture Unknown
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information