Closed Bug 103023 Opened 24 years ago Closed 24 years ago

memory leak in MimeMultipartRelated object

Categories

(MailNews Core :: MIME, defect)

defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: Bienvenu, Assigned: Bienvenu)

Details

(Keywords: memory-leak)

Attachments

(2 files, 1 obsolete file)

the member variable head_buffer is never freed when parsing a mime multipart related message - this is a 50K leak everytime we parse one of these. I'll attach the fix, and a sample message.
Attached patch proposed fix (obsolete) — Splinter Review
Attached file sample msg
Attachment #51968 - Attachment is obsolete: true
Comment on attachment 51973 [details] [diff] [review] fix that clears the size and fp members as well r=ducarroz
Attachment #51973 - Flags: review+
Comment on attachment 51973 [details] [diff] [review] fix that clears the size and fp members as well sr=sspitzer
Attachment #51973 - Flags: superreview+
fix checked in.
Status: NEW → RESOLVED
Closed: 24 years ago
Keywords: mlk
Resolution: --- → FIXED
QA Contact: esther → stephend
Verified FIXED with the latest CVS trunk build running Purify on Windows 2000 (before the current horkage), and with the test message saved as a file with no extensions in windows. (But we're leaking a few 8 byte MIME 'thingies' elsewhere ;-)).
Status: RESOLVED → VERIFIED
Product: MailNews → Core
Product: Core → MailNews Core
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: