Closed Bug 342600 Opened 19 years ago Closed 18 years ago

Tools menu leaks Clear Private Data label

Categories

(Firefox :: Menus, defect)

2.0 Branch
PowerPC
macOS
defect
Not set
minor

Tracking

()

RESOLVED FIXED
Firefox 3 alpha8

People

(Reporter: ispiked, Assigned: dbaron)

References

Details

(Keywords: memory-leak)

Attachments

(1 file)

Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8.1a3) Gecko/20060606 BonEcho/2.0a3 Steps to reproduce: 1. Install dbaron's Leak Monitor extension. 2. Tools > Add-ons (although which dialog you choose doesn't matter). 3. Close the Add-ons manager window. Leak Monitor shows the following leak: Leaks in window 0x214d270: [+] [leaked object] (25b1d68) = [object Object] [ ] _defaultLabel = Clear Private Data
Oh, that wouldn't help, nevermind.
Nominating because this is really annoying when using the Leak Monitor extension.
Flags: blocking1.9a2?
The opening and shutting of Preferences reproduces. Steps to reproduce: 1. Open Preferences 2. Close Preferences Leaks in window 0x252e4f0: [+] [leaked object] (2602ec0) = [object Object] [ ] _defaultLabel = Clear Private Data Mac OS X 10.3.9 Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.9a1) Gecko/20060714 Minefield/3.0a1
Assignee: nobody → joshmoz
Similar error with Help -> Check for Updates... Leaks in window 0x24db138: [+] [leaked object] (238c7b0) = [object Object] [ ] _defaultLabel = Clear Private Data Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.8.1) Gecko/20060918 Firefox/2.0 So it seems just about any chrome window will trigger this leak. Agree w/Jesse very annoying when using the plug-in to look for leaks.
*** Bug 361041 has been marked as a duplicate of this bug. ***
Flags: blocking1.9a2?
Flags: blocking-firefox3?
Flags: blocking-firefox3? → blocking-firefox3+
Target Milestone: --- → Firefox 3 beta1
Target Milestone: Firefox 3 M7 → Firefox 3 M9
Attached patch possible patchSplinter Review
I bet this will fix it. I still don't understand how I figured this out while debugging bug 393898, though.
Comment on attachment 279066 [details] [diff] [review] possible patch This does in fact fix the leak with the download manager window; the addons window still seems to leak for other reasons.
Attachment #279066 - Flags: review?(mano)
I figured it out while debugging bug 393898 purely by accident.
Assignee: joshmoz → dbaron
Comment on attachment 279066 [details] [diff] [review] possible patch r=mano
Attachment #279066 - Flags: review?(mano) → review+
Checked in.
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
Target Milestone: Firefox 3 M9 → Firefox 3 M8
This was originally reported about the addons window and in comment 8, it was reported that it still leaks even with this patch that was checked in. So shouldn't this still be open? Or is that actually going to be fixed in bug 393898 as it seems dbaron may be suggesting in comment 9 here?
I filed the issue with the addons window as bug 394514.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: