From: gnome-perl (bugzilla.gnome.o. <bug...@gn...> - 2010-09-07 00:24:13
|
https://bugzilla.gnome.org/show_bug.cgi?id=616655 gnome-perl | Gtk2 | unspecified Kevin Ryde <user42> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |us...@zi... --- Comment #1 from Kevin Ryde <us...@zi...> 2010-09-07 00:23:55 UTC --- Yes. It happens to a toplevel window too, per attached toplevel.pl. Removing the _noinc from gdk_window_new() fixes it for me too. But I don't think there's a memory leak. If you run some main loop iterations per attached noleak.pl then the memory is steady. I imagine it's notify events or whatever coming back from the server. Is a GdkWindow kept alive by it's place in the "list_toplevels" thingie, or by its parent when not a toplevel? So if you clear your perl scalar before the it's removed from there then no problem, but if the scalar lasts after that then there's a missing g_object_ref() for that scalar. -- Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug. You are the assignee for the bug. |