GNOME Bugzilla – Bug 765961
Fix element leak in gstutils.c:find_common_root()
Last modified: 2016-05-06 06:49:39 UTC
.
Created attachment 327271 [details] [review] utils: fix element leak in find_common_root() The root element was not unreffed when iterating over ancestors.
Review of attachment 327271 [details] [review]: ::: gst/gstutils.c @@ +1364,3 @@ return root; } + gst_object_unref (root); Isn't it also leaking root a few lines below when setting root = kid1?
Yep, I fixed it as well but got confused when I recorded my commit. :)
Created attachment 327273 [details] [review] utils: fix element leak in find_common_root() The root element was not unreffed when iterating over ancestors.
Attachment 327273 [details] pushed as 30ee36e - utils: fix element leak in find_common_root()