Closed
Bug 110410
Opened 23 years ago
Closed 23 years ago
memory leak gone up by 10X (644B to 6880B)
Categories
(Core Graveyard :: Tracking, defect)
Core Graveyard
Tracking
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla0.9.7
People
(Reporter: cathleennscp, Assigned: danm.moz)
Details
(Keywords: memory-leak)
Attachments
(1 file)
Summary: memory leak gone up by 10X (644B to 6880K) → memory leak gone up by 10X (644B to 6880B)
Comment 1•23 years ago
|
||
According to tinderbox, this happened between 17:20 and 18:20.
http://bonsai.mozilla.org/cvsquery.cgi?treeid=default&module=all&branch=HEAD&branchtype=match&dir=&file=&filetype=match&who=&whotype=match&sortby=Date&hours=2&date=explicit&mindate=11%2F15%2F01+17%3A20%3A00&maxdate=11%2F15%2F01+18%3A20%3A00&cvsroot=%2Fcvsroot
This was at least mostly danm, and he temporarily disabled his changes.
The other leak is because there's no release of the old mNameSpaceManager before
the NS_NewNameSpaceManager calls in nsDocument::Reset and
nsDocument::ResetToURI. cc:ing jst since I'm not sure the best way to fix this.
In particular:
* it should probably be an nsCOMPtr
* why do we even need to create a new one for Reset, since it contains no
state? (Why do we even need one per document?)
Comment 5•23 years ago
|
||
Yeah, throwing away the namespace manager in ::Reset() doesn't make sense,
creating one if there isn't one seems more reasonable.
Anyway ->danm.
Assignee: cathleen → danm
Just 10x? I'll try to do better next time.
Thanks David for tracking it down! And fixing it! Your patch is in, as is a fix
for the mNameSpaceManager leak.
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Updated•8 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•