[GHC] #803: malloc() without free()

GHC trac at galois.com
Mon Jun 26 09:36:57 EDT 2006


#803: malloc() without free()
-------------------------+--------------------------------------------------
    Reporter:  guest     |        Owner:         
        Type:  bug       |       Status:  new    
    Priority:  normal    |    Milestone:         
   Component:  Compiler  |      Version:  6.4.2  
    Severity:  normal    |     Keywords:         
          Os:  Unknown   |   Difficulty:  Unknown
Architecture:  Unknown   |  
-------------------------+--------------------------------------------------
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().

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/803>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the Glasgow-haskell-bugs mailing list