After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 60863 - possible mem leak
possible mem leak
Status: RESOLVED WONTFIX
Product: gtk+
Classification: Platform
Component: Backend: X11
1.3.x
Other Linux
: Normal minor
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2001-09-21 03:16 UTC by Joshua N Pritikin
Modified: 2011-02-04 16:09 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
fix minor leak in gdk_event_translate (369 bytes, patch)
2001-09-21 03:18 UTC, Joshua N Pritikin
none Details | Review
patch backported to 1.2.x (497 bytes, patch)
2002-05-22 21:20 UTC, Kjartan Maraas
none Details | Review

Description Joshua N Pritikin 2001-09-21 03:16:33 UTC
i'm not sure if this code is ever triggered, but it seems like it could
cause a memory leak.  i believe the attached patch plugs the leak.
Comment 1 Joshua N Pritikin 2001-09-21 03:18:40 UTC
Created attachment 5644 [details] [review]
fix minor leak in gdk_event_translate
Comment 2 Owen Taylor 2001-09-21 23:58:45 UTC
Fri Sep 21 19:57:31 2001  Owen Taylor  <otaylor@redhat.com>

	* gdk/x11/gdkevents-x11.c (gdk_event_translate): Fix reference
	leak for windows that receive events after being destroyed.
	(#60863, Joshua N. Pritikin)
Comment 3 Owen Taylor 2001-09-24 16:58:31 UTC
Indeed a memory leak (though only triggered on uncommon
race conditions) and in GTK+-1.2.x as well.
Comment 4 Kjartan Maraas 2002-05-22 21:19:59 UTC
Attaching backport to 1.2.x
Comment 5 Kjartan Maraas 2002-05-22 21:20:35 UTC
Created attachment 8671 [details] [review]
patch backported to 1.2.x
Comment 6 Kjartan Maraas 2002-05-22 21:42:19 UTC
Forget about that patch. I obviously didn't check HEAD to see what was
done there.
Comment 7 Owen Taylor 2004-02-24 00:52:28 UTC
No 1.2.11 is planned, so closing all 1.2.11 specific bugs.
Comment 8 Owen Taylor 2004-02-24 14:07:21 UTC
*Really* close all 1.2.11 bugs, instead of just adding a comment...