Closed Bug 95501 Opened 23 years ago Closed 23 years ago

MLK : (POP3) nsDocShell leaks on start-up, check new mail and shutdown

Categories

(MailNews Core :: Backend, defect)

x86
Windows NT
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: naving, Assigned: naving)

Details

(Keywords: memory-leak)

Attachments

(4 files)

This is for only one pop3 acct.
Attached patch leak logSplinter Review
Attached patch proposed fixSplinter Review
The fix is to set the callback to null as we are about to close the socket and 
get rid of the connection. 
cc bienvenu for review. Since I am making changes to the base class I have 
checked news also and it works fine. I'll do some more testing. 
Summary: MLK : POP3 nsDocShell leaks on start-up, check new mail and shutdown → MLK : (POP3) nsDocShell leaks on start-up, check new mail and shutdown
check with mscott, please. He's the master of this stuff. That is great if this
fixes the doc shell, though!
If Scott gives you an r=, I'll sr it. 
QA Contact: esther → sheelar
that change looks safe. 
r=mscott
sr=bienvenu
This seems like a pretty low-level change that fixes a rather small leak.
(I'm not even sure it fixes the leak -- it looks to me more like it just
reduces the ownership fanout from a transport that is leaked either way.
That's not necessarily a bad thing -- making leaks smaller is good -- but
I'm not sure it's worth the possible risk for 0.9.4.)  Do you think this
could wait until 0.9.5?
QA Contact: sheelar → stephend
fix checked in. Note that it may fix docShell leaks  for news because the 
fix is in the base class.

Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Keywords: mlk
verified fixed.
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: