Closed
Bug 19477
Opened 25 years ago
Closed 23 years ago
Leaking nsSoftwareUpdateNameSet object
Categories
(SeaMonkey :: General, defect, P3)
SeaMonkey
General
Tracking
(Not tracked)
RESOLVED
FIXED
Future
People
(Reporter: beard, Assigned: vidur)
References
()
Details
(Keywords: memory-leak)
At the call site in the URL above, the call to nsSoftwareUpdate::GetInstance() has already called AddRef(), and you are calling QueryInterface() which will also call AddRef(). Therefore you're leaking a refcount.
Reporter | ||
Updated•25 years ago
|
Assignee: cathleen → neeti
Updated•25 years ago
|
Assignee: dveditz → vidur
Component: XPInstall → Browser-General
Comment 1•25 years ago
|
||
That's not where the nsSoftwareUpdateNameSet leak comes from. the SoftwareUpdate service doesn't keep a pointer to or AddRef the NameSet object, it's just created and then passed to nsIScriptNameSetRegistry service. The AddExternalNameSet() method on that service does the one and only AddRef on that object, and never releases it.
Not an XPInstall issue. Changing QA Contact per Component change.
Assignee | ||
Comment 3•25 years ago
|
||
In an attempt to get my bug list in order again, marking all the bugs I have currently as ASSIGNED.
Assignee | ||
Updated•25 years ago
|
Target Milestone: M15
Assignee | ||
Comment 4•25 years ago
|
||
Unfortunately the reference kept from the nsIScriptNameSetRegistry service can't be released until the DOM becomes a full-fledged component. We aren't planning on doing this till post-Beta 1. Marking M15.
Updated•25 years ago
|
Summary: [MLK] Leaking nsSoftwareUpdateNameSet object → Leaking nsSoftwareUpdateNameSet object
M16 has been out for a while now, these bugs target milestones need to be updated.
Comment 8•24 years ago
|
||
This bug has been marked "future" because the original netscape engineer working on this is over-burdened. If you feel this is an error, that you or another known resource will be working on this bug,or if it blocks your work in some way -- please attach your concern to the bug for reconsideration.
Target Milestone: M16 → Future
Assignee | ||
Comment 9•23 years ago
|
||
Fixed with XPCDOM landing.
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Updated•20 years ago
|
Product: Browser → Seamonkey
You need to log in
before you can comment on or make changes to this bug.
Description
•