Closed Bug 258667 Opened 21 years ago Closed 21 years ago

leak when opening a tab group that's on the personal toolbar

Categories

(Core :: DOM: UI Events & Focus Handling, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: dbaron, Assigned: dbaron)

Details

(Keywords: fixed-aviary1.0, fixed1.7.5, memory-leak, Whiteboard: [patch])

Attachments

(1 file, 1 obsolete file)

I leak when I open a tab group that's on the personal toolbar in Firefox. Patch to be attached.
Attached patch patchSplinter Review
I've fixed too many leaks in this code not to do this (convert to nsCOMPtr / nsCOMArray).
Attachment #158678 - Flags: superreview?(jst)
Attachment #158678 - Flags: review?(jst)
Comment on attachment 158678 [details] [diff] [review] patch Yeah, I'm all for doing this, thanks dbaron! r+sr=jst
Attachment #158678 - Flags: superreview?(jst)
Attachment #158678 - Flags: superreview+
Attachment #158678 - Flags: review?(jst)
Attachment #158678 - Flags: review+
Fix checked in to trunk, 2004-09-12 20:22 -0700.
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
Comment on attachment 158678 [details] [diff] [review] patch Making approval requests for after Firefox 1.0PR.
Attachment #158678 - Flags: approval1.7.x?
Attachment #158678 - Flags: approval-aviary?
Seems to kill compilation under VC++ .Net 2003 (using free toolkit) with this error : "c:\logs\moz\mozilla\dist\include\layout\nsPresCOMPtr.h(200) : error C2873: 'AddRef' : symbol cannot be used in a using-declaration c:\logs\moz\mozilla\dist\include\layout\nsPresCOMPtr.h(200) : error C2027: use of undefined type 'imgIRequest' ../../dist\include\layout\nsPresContext.h(64) : see declaration of 'imgIRequest' c:\logs\moz\mozilla\dist\include\xpcom\nsCOMPtr.h(201) : error C2873: 'Release' : symbol cannot be used in a using-declaration make[5]: ** [nsNativeTheme.obj] Error 2 And then build process is killed :[
Unrelated to this bug, and there's no file called nsPresCOMPtr.h.
Well, so my computer is guilty there. Strange point is that I can build without problem firefox or thunderbird (branch based code). Sorry for spamming the bug.
Comment on attachment 158678 [details] [diff] [review] patch a=asa for checkin to the branches.
Attachment #158678 - Flags: approval1.7.x?
Attachment #158678 - Flags: approval1.7.x+
Attachment #158678 - Flags: approval-aviary?
Attachment #158678 - Flags: approval-aviary+
Fix checked in to MOZILLA_1_7_BRANCH, 2004-09-14 13:38 -0700. Fix checked in to AVIARY_1_0_20040515_BRANCH, 2004-09-14 13:39 -0700.
Component: Event Handling → User events and focus handling
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: