Closed Bug 19477 Opened 25 years ago Closed 23 years ago

Leaking nsSoftwareUpdateNameSet object

Categories

(SeaMonkey :: General, defect, P3)

defect

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.
Assignee: cathleen → neeti
Assignee: neeti → dveditz
Assignee: dveditz → vidur
Component: XPInstall → Browser-General
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.
QA Contact: jimmylee → leger
Not an XPInstall issue.  Changing QA Contact per Component change.
In an attempt to get my bug list in order again, marking all the bugs I have
currently as ASSIGNED.
Target Milestone: M15
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.
Keywords: mlk
Summary: [MLK] Leaking nsSoftwareUpdateNameSet object → Leaking nsSoftwareUpdateNameSet object
This won't happend for M15, moving to M16.

Target Milestone: M15 → M16
Updating QA Contact.
QA Contact: leger → jrgm
M16 has been out for a while now, these bugs target milestones need to be 
updated.
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
Fixed with XPCDOM landing.
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.