Closed
Bug 316569
Opened 19 years ago
Closed 19 years ago
Memory leak in XTF when using nsXTFInterfaceAggregator
Categories
(Core Graveyard :: XTF, defect)
Core Graveyard
XTF
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: smaug, Assigned: smaug)
References
Details
(Keywords: verified1.8.0.12, verified1.8.1.4)
Attachments
(1 file, 2 obsolete files)
2.93 KB,
patch
|
bryner
:
review+
bryner
:
superreview+
dveditz
:
approval1.8.1.4+
dveditz
:
approval1.8.0.12+
|
Details | Diff | Splinter Review |
Patch coming.
Assignee | ||
Comment 1•19 years ago
|
||
First QueryInterfaceInner AddRefs innerPtr, then NS_NewXTFInterfaceAggregator
AddRefs it, but only the nsXTFInterfaceAggregator object keeps the pointer to innerPtr. So innerPtr will be released only once (when nsXTFInterfaceAggregator is deleted). This means that we're leaking nsIXTFElement objects.
So the patch adds one NS_RELEASE.
Attachment #203147 -
Flags: superreview?(bryner)
Attachment #203147 -
Flags: review?(bryner)
Assignee | ||
Updated•19 years ago
|
Attachment #203147 -
Flags: superreview?(bryner)
Attachment #203147 -
Flags: review?(bryner)
Assignee | ||
Comment 2•19 years ago
|
||
Attachment #203147 -
Attachment is obsolete: true
Attachment #203299 -
Flags: superreview?(bryner)
Attachment #203299 -
Flags: review?(bryner)
Assignee | ||
Comment 3•19 years ago
|
||
Attachment #203299 -
Attachment is obsolete: true
Attachment #203438 -
Flags: superreview?(bryner)
Attachment #203438 -
Flags: review?(bryner)
Attachment #203299 -
Flags: superreview?(bryner)
Attachment #203299 -
Flags: review?(bryner)
Updated•19 years ago
|
Attachment #203438 -
Flags: superreview?(bryner)
Attachment #203438 -
Flags: superreview+
Attachment #203438 -
Flags: review?(bryner)
Attachment #203438 -
Flags: review+
Assignee | ||
Comment 4•19 years ago
|
||
Checked in
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Comment 5•19 years ago
|
||
I know that 1.8 is closed (unless we figure out a way to make this a security error ;-) ). How do we remember to push this to branch as soon as possible?
Assignee | ||
Comment 7•18 years ago
|
||
Comment on attachment 203438 [details] [diff] [review]
using nsCOMPtr
It would be really great to get this leak fix to branches. This has been on trunk over a year! and there are no known regressions.
Attachment #203438 -
Flags: approval1.8.1.4?
Attachment #203438 -
Flags: approval1.8.0.12?
Comment 8•18 years ago
|
||
Comment on attachment 203438 [details] [diff] [review]
using nsCOMPtr
approved for 1.8.0.12 and 1.8.1.4, a=dveditz for release-drivers
Attachment #203438 -
Flags: approval1.8.1.4?
Attachment #203438 -
Flags: approval1.8.1.4+
Attachment #203438 -
Flags: approval1.8.0.12?
Attachment #203438 -
Flags: approval1.8.0.12+
Comment 11•18 years ago
|
||
don't know how to test this. verified per checkins and no regressions on trunk
Status: RESOLVED → VERIFIED
Updated•11 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•