Closed Bug 1024788 Opened 6 years ago Closed 6 years ago

CollectPmemReports leaks |sizeFile| on fscanf error

Categories

(Core :: XPCOM, defect)

All
Linux
defect
Not set

Tracking

()

RESOLVED FIXED
mozilla33

People

(Reporter: erahm, Assigned: erahm)

References

(Blocks 1 open bug)

Details

(Keywords: coverity, Whiteboard: [MemShrink:P2][CID 1157288])

Attachments

(1 file)

Whiteboard: [MemShrink][CID 1157288] → [MemShrink:P3][CID 1157288]
Whiteboard: [MemShrink:P3][CID 1157288] → [MemShrink:P2][CID 1157288]
Assignee: nobody → erahm
This patch makes sure we always close sizeFile.
Attachment #8450567 - Flags: review?(jld)
Comment on attachment 8450567 [details] [diff] [review]
CollectPmemReports leaks |sizeFile| on fscanf error

Review of attachment 8450567 [details] [diff] [review]:
-----------------------------------------------------------------

Stealing. r=me.
Attachment #8450567 - Flags: review?(jld) → review+
https://hg.mozilla.org/mozilla-central/rev/3b08830f48dc
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla33
You need to log in before you can comment on or make changes to this bug.