malloc() without free()
|Reported by:||guest||Owned by:|
|Type of failure:||None/Unknown||Test Case:|
|Related Tickets:||Differential Rev(s):|
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().