Opened 9 years ago

Closed 9 years ago

Last modified 7 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: Test Case:
Blocked By: Blocking:
Related Tickets: Differential Revisions:

Description

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 9 years ago.

Download all attachments as: .zip

Change History (6)

Changed 9 years ago by guest

comment:1 Changed 9 years ago by simonmar

  • Milestone set to 6.6

comment:2 Changed 9 years ago by simonmar

  • Priority changed from normal to high

prio high, because it has a patch.

comment:3 Changed 9 years ago by simonmar

  • Resolution set to fixed
  • Status changed from new to closed

Committed with small changes; thanks.

comment:4 Changed 7 years ago by simonmar

  • Architecture changed from Unknown to Unknown/Multiple

comment:5 Changed 7 years ago by simonmar

  • Operating System changed from Unknown to Unknown/Multiple
Note: See TracTickets for help on using tickets.