Opened 11 years ago

Closed 11 years ago

Last modified 9 years ago

#803 closed bug (fixed)

malloc() without free()

Reported by: guest Owned by:
Priority: high Milestone: 6.6
Component: Compiler Version: 6.4.2
Keywords: Cc:
Operating System: Unknown/Multiple Architecture: Unknown/Multiple
Type of failure: None/Unknown Test Case:
Blocked By: Blocking:
Related Tickets: Differential Rev(s):
Wiki Page:


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().

Attachments (1)

changes-free (5.1 KB) - added by guest 11 years ago.

Download all attachments as: .zip

Change History (6)

Changed 11 years ago by guest

Attachment: changes-free added

comment:1 Changed 11 years ago by simonmar

Milestone: 6.6

comment:2 Changed 11 years ago by simonmar

Priority: normalhigh

prio high, because it has a patch.

comment:3 Changed 11 years ago by simonmar

Resolution: fixed
Status: newclosed

Committed with small changes; thanks.

comment:4 Changed 9 years ago by simonmar

Architecture: UnknownUnknown/Multiple

comment:5 Changed 9 years ago by simonmar

Operating System: UnknownUnknown/Multiple
Note: See TracTickets for help on using tickets.