Closed Bug 219521 Opened 22 years ago Closed 22 years ago

nsDragService leaks gdk window because it shuts down after event loop

Categories

(Core Graveyard :: GFX: Gtk, defect, P3)

x86
Linux
defect

Tracking

(Not tracked)

RESOLVED FIXED
mozilla1.6alpha

People

(Reporter: dbaron, Assigned: dbaron)

Details

(Keywords: memory-leak, Whiteboard: [patch])

Attachments

(2 files)

nsDragService leaks one gdk window because it shuts down after the main event loop does. I'll attach a patch that fixes this leak.
meant to assign to self
Assignee: blizzard → dbaron
Keywords: mlk
Priority: -- → P3
Whiteboard: [patch]
Target Milestone: --- → mozilla1.6alpha
Did you want this reviewed? (If so, what about gtk2? :)
Comment on attachment 131636 [details] [diff] [review] patch Sure, although I'm not crazy about adding this much code to fix what's just a shutdown leak, except that it does make it easier to find real leaks (like bug 219536).
Attachment #131636 - Flags: superreview?(bryner)
Attachment #131636 - Flags: review?(blizzard)
Oh, GTK2. I guess I should see if GTK2 has the same problem. I don't have a GTK2 debug tree right now, though. I probably ought to, for both leaks and broken opacity.
Attachment #131636 - Flags: superreview?(bryner) → superreview+
Attached patch patch for gtk2Splinter Review
The same is true for GTK2. Here's the GTK2 patch.
Attachment #132225 - Flags: superreview?(bryner)
Attachment #132225 - Flags: review?(blizzard)
Attachment #132225 - Flags: superreview?(bryner) → superreview+
Attachment #132225 - Flags: review?(blizzard) → review+
Attachment #131636 - Flags: review?(blizzard) → review+
Fix checked in to trunk, 2003-10-29 17:48 -0800.
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: