GNOME Bugzilla – Bug 759205
clutterautovideosink: Leaks it's kit
Last modified: 2015-12-10 14:38:09 UTC
The kid pointer is leaked.
Created attachment 316970 [details] [review] auto-video-sink: Don't leak kid on dispose Currently we leak the kid by not removing it from the content. Remove the kid sink from the content when removing it from the pipeline.
Review of attachment 316970 [details] [review]: Thanks, It looks good to me. Maybe you could add something like this to the commit message : There is a cycle of refcounts between the sink and the content (both have a reference to each other). We need to break that cycle to ensure objects are disposed properly.
Review of attachment 316970 [details] [review]: Pushed to 3.0 branch.