Closed
Bug 828301
Opened 11 years ago
Closed 11 years ago
Custom linker leaks zlib buffers
Categories
(Core :: mozglue, defect)
Tracking
()
RESOLVED
FIXED
mozilla21
People
(Reporter: glandium, Assigned: glandium)
Details
Attachments
(1 file)
846 bytes,
patch
|
froydnj
:
review+
|
Details | Diff | Splinter Review |
While working on a memory reporter for the custom linker, I figured there's about 550K lost in zlib buffers that are never freed. Worse, they are allocated with the system allocator, so they don't even show up in about:memory.
Assignee | ||
Comment 1•11 years ago
|
||
Attachment #699764 -
Flags: review?(nfroyd)
Comment 2•11 years ago
|
||
Comment on attachment 699764 [details] [diff] [review] Free zlib internal buffers when we're done uncompressing in the custom linker I guess we don't have to worry about zStream not having been successfully inflateInit'd here.
Attachment #699764 -
Flags: review?(nfroyd) → review+
Assignee | ||
Comment 3•11 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/25ce76f1d0cf
Comment 4•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/25ce76f1d0cf
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla21
You need to log in
before you can comment on or make changes to this bug.
Description
•