[GHC] #9028: [CID43167] Fix memleak in hp2ps

GHC ghc-devs at haskell.org
Wed Apr 23 19:16:23 UTC 2014


#9028: [CID43167] Fix memleak in hp2ps
------------------------------------+-------------------------------------
       Reporter:  nicolast          |             Owner:
           Type:  bug               |            Status:  new
       Priority:  normal            |         Milestone:
      Component:  None              |           Version:  7.8.2
       Keywords:  coverity, hp2ps   |  Operating System:  Unknown/Multiple
   Architecture:  Unknown/Multiple  |   Type of failure:  None/Unknown
     Difficulty:  Unknown           |         Test Case:
     Blocked By:                    |          Blocking:
Related Tickets:                    |
------------------------------------+-------------------------------------
 Coverity found a memleak in hp2ps, an allocated buffer not being freed.

 Attached patch adds the free call.

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


More information about the ghc-tickets mailing list