Closed Bug 49565 Opened 25 years ago Closed 24 years ago

MLK: nsMsgFilterService::SaveFilterList()

Categories

(MailNews Core :: Filters, defect, P3)

defect

Tracking

(Not tracked)

VERIFIED FIXED
mozilla0.9.2

People

(Reporter: bruce, Assigned: hwaara)

Details

(Keywords: memory-leak)

Attachments

(3 files)

nsMsgFilterService::SaveFilterList() allocates tmpFileStream .. but never deletes it.
Keywords: mlk
moving to future milestone.
Target Milestone: --- → Future
This only requires the addtion of a 'delete tmpFileStream;' after line 117 (tmpFileStream->close();) Please reconsider futuring this.
Attached patch Proposed patch.Splinter Review
Propsed patch above. 1 line addition - as what bruce suggested. Can I get a review? cc'ing myself.
delete, then set it to null, then it's r=alecf
Alec, can you check this in for me? I don't have CVS write access.
r=alecf adding patch keyword so I remember to get this in my next patch checkin sweep
Keywords: patch
reassigning my filter bugs to gayatrib..
Assignee: alecf → gayatrib
QA Contact: lchiang → laurel
gayatrib, can this be checked in anytime soon?
There is a patch attached to this bug, which is ready for checkin. Gayatri, can't you take this patch and just do it?
reassigning to naving
Assignee: gayatrib → naving
Taking bug. I will update Kevin's patch against the current tree and check it in.
Assignee: naving → hwaara
Target Milestone: Future → ---
Ok, patch applied in my tree. I will check it in with sr=blizzard and r=alecf (assuming they are still valid) as soon as the trunk opens for 0.9.2.
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla0.9.2
Håkan - could you at least get module owner review on this again since it's been so long, at least so they know you're doing this? (Although it might be nice to use timeless's patch if it doesn't change the control flow...)
I would prefer Kevin's patch since it's a simple fix whereas timeless' patch fixes additional stuff.
good call by dbaron to get a re-review. naving is the right person to re-review this.
r=naving on Kevin Higgins patch.
Fix checked in. Thanks Kevin for the fix!
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Any reasonable way for me to verify this?
Marking verified (no response, assume no verification steps).
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

Creator:
Created:
Updated:
Size: