Opened 3 years ago

Closed 3 years ago

#9024 closed bug (fixed)

[CID43166] Memleak in initProfiling2

Reported by: nicolast Owned by: simonmar
Priority: normal Milestone:
Component: Runtime System Version: 7.8.2
Keywords: coverity Cc: simonmar
Operating System: Unknown/Multiple Architecture: Unknown/Multiple
Type of failure: Other Test Case:
Blocked By: Blocking:
Related Tickets: Differential Rev(s):
Wiki Page:


The Coverity scan discovered a (small) memory leak in the error-path of initProfiling2. The attached patch should fix this.

Attachments (1)

0001-Free-allocated-memory-in-error-path.patch (715 bytes) - added by nicolast 3 years ago.

Download all attachments as: .zip

Change History (4)

Changed 3 years ago by nicolast

comment:1 Changed 3 years ago by thoughtpolice

I already have this on my wip/coverity branch (I'm combing through all the errors). Thanks though!

comment:2 Changed 3 years ago by thoughtpolice

BTW, jump on IRC (#ghc) and we can coordinate fixes or talk more easily if you'd like.

comment:3 Changed 3 years ago by thoughtpolice

Resolution: fixed
Status: newclosed

Merged in HEAD and 7.8 this morning, thanks!

Note: See TracTickets for help on using tickets.