[GHC] #9024: [CID43166] Memleak in initProfiling2

#9024: [CID43166] Memleak in initProfiling2 ------------------------------------+------------------------------------- Reporter: nicolast | Owner: simonmar Type: bug | Status: new Priority: normal | Milestone: Component: Runtime System | Version: 7.8.2 Keywords: coverity | Operating System: Unknown/Multiple Architecture: Unknown/Multiple | Type of failure: Other Difficulty: Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | ------------------------------------+------------------------------------- The Coverity scan discovered a (small) memory leak in the error-path of initProfiling2. The attached patch should fix this. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/9024 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#9024: [CID43166] Memleak in initProfiling2 -------------------------------------+------------------------------------ Reporter: nicolast | Owner: simonmar Type: bug | Status: new Priority: normal | Milestone: Component: Runtime System | Version: 7.8.2 Resolution: | Keywords: coverity Operating System: Unknown/Multiple | Architecture: Unknown/Multiple Type of failure: Other | Difficulty: Unknown Test Case: | Blocked By: Blocking: | Related Tickets: -------------------------------------+------------------------------------ Comment (by thoughtpolice): I already have this on my `wip/coverity` branch (I'm combing through all the errors). Thanks though! -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/9024#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#9024: [CID43166] Memleak in initProfiling2 -------------------------------------+------------------------------------ Reporter: nicolast | Owner: simonmar Type: bug | Status: new Priority: normal | Milestone: Component: Runtime System | Version: 7.8.2 Resolution: | Keywords: coverity Operating System: Unknown/Multiple | Architecture: Unknown/Multiple Type of failure: Other | Difficulty: Unknown Test Case: | Blocked By: Blocking: | Related Tickets: -------------------------------------+------------------------------------ Comment (by thoughtpolice): BTW, jump on IRC (`#ghc`) and we can coordinate fixes or talk more easily if you'd like. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/9024#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#9024: [CID43166] Memleak in initProfiling2 -------------------------------------+------------------------------------ Reporter: nicolast | Owner: simonmar Type: bug | Status: closed Priority: normal | Milestone: Component: Runtime System | Version: 7.8.2 Resolution: fixed | Keywords: coverity Operating System: Unknown/Multiple | Architecture: Unknown/Multiple Type of failure: Other | Difficulty: Unknown Test Case: | Blocked By: Blocking: | Related Tickets: -------------------------------------+------------------------------------ Changes (by thoughtpolice): * status: new => closed * resolution: => fixed Comment: Merged in HEAD and 7.8 this morning, thanks! -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/9024#comment:3 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC