Closed Bug 377372 Opened 17 years ago Closed 17 years ago

XTF leaking due to QueryInterface

Categories

(Core Graveyard :: XTF, defect)

1.8 Branch
x86
All
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 316569

People

(Reporter: aaronr, Assigned: aaronr)

Details

Attachments

(1 file)

Attached patch patchSplinter Review
On the MOZILLA_1_8_BRANCH, using XForms we noticed lots of objects leaking just loading simple forms.  tor and I looked at the leak logs and tor found that there is code in XTF that calls QueryInterfaceInner (which addrefs its result before returning) and passes the result into NS_NewXTFInterfaceAggregator, which also addrefs the same pointer.  So the fix is to do a release before returning.
Attachment #261449 - Flags: review?(alex)
Argh, bug 316569 never landed on branches.
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → DUPLICATE
Attachment #261449 - Flags: review?(alex)
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: