GNOME Bugzilla – Bug 734478
shapewipe: Unref caps and element after usage
Last modified: 2014-08-11 06:56:43 UTC
gst_pad_get_pad_template_caps() and gst_bin_get_by_name() both return reference to objects that need to be unreffed after usage. The attached patch aim to fix this. __tim mentioned that shapewipe might no longer be maintained, but I still submit this patch to allow you to either take the fix on or set the bug as WONTFIX. This way I have done the best I can. :)
Created attachment 282898 [details] [review] Proposed patch fixing leaks.
> __tim mentioned that shapewipe might no longer be maintained, but I still > submit this patch to allow you to either take the fix on or set the bug as > WONTFIX. This way I have done the best I can. :) Erm, this is not what I said at all. I said I didn't know if the shapewipe example had been ported to 1.0 or not. You could just check yourself whether those plugins/examples have been ported before submitting bugs... commit 70a43758bbce5b2fe07df8c7b40c13b1ebd31ea1 Author: Sebastian Rasmussen <sebras@hotmail.com> Date: Fri Aug 8 12:54:30 2014 +0200 shapewipe: Unref caps and element after usage https://bugzilla.gnome.org/show_bug.cgi?id=734478