GNOME Bugzilla – Bug 574305
Gtk2::TreeModelFilter::new() reference leak
Last modified: 2009-03-08 18:01:18 UTC
When a Gtk2::TreeModelFilter is created by Gtk2::TreeModelFilter::new() I believe it's not destroyed when no longer referenced from perl. Failing .t case in the diff below. I think it's just a case of wanting "_noinc" on the return, since gtk_tree_model_filter_new() is a constructor and returns a ref_count of 1 ready to take over. Change in the diff below seems to work for me.
Created attachment 130153 [details] [review] diff and test case
Committed. Thanks!