#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 Revisions:

Description

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 13 months ago.

Download all attachments as: .zip

Change History (4)

comment:1 Changed 13 months ago by thoughtpolice

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

comment:2 Changed 13 months ago by thoughtpolice

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

comment:3 Changed 13 months ago by thoughtpolice

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

Merged in HEAD and 7.8 this morning, thanks!

Note: See TracTickets for help on using tickets.