GNOME Bugzilla – Bug 621710
Drawable get_image() ref leak
Last modified: 2010-11-21 19:30:18 UTC
Created attachment 163752 [details] leaking program I think gdk_drawable_get_image() should have _noinc on its return, per attached diff. Attached leak.pl otherwise grows apparently forever.
Created attachment 163753 [details] [review] patch
Created attachment 174639 [details] [review] patch and test case This diff with a test case exercising the problem.
Created attachment 174715 [details] [review] tests A couple of test cases for copy_to_image() along the same lines. Its refcounting is already right, but just to exercise it. This diff goes on top of the get_image() one.
Looks good, committed. Thanks.