GNOME Bugzilla – Bug 128559
GDI object leak in gdk_window_set_icon
Last modified: 2004-12-22 21:47:04 UTC
I found a bug in gdk_window_set_icon that was causing it to leak an HICON. The current codes stores the return value of the WM_SETICON message (which is the old icon) in impl->hicon, but it should be storing the new icon there instead and ignoring the return value. I will attach a patch.
Created attachment 22121 [details] [review] Patch against gtk+-2.2.4 to fix this bug
Patch applied to gtk-2-2 and HEAD.