GNOME Bugzilla – Bug 753151
gstpad: fix invalid object unref
Last modified: 2015-08-16 13:38:57 UTC
Created attachment 308633 [details] [review] gstpad: fix invalid object unref In case there is an IDLE probe fired from gst_pad_push_data and it doesn't return GST_FLOW_OK, the code jumps to the probe_stopped label which tries to unref the data object. However, at this point the data object belongs downstream and must not be touched. By setting data = NULL, the code skips this unref.
commit 794a08d7e9e4d1fc483c1fac49369f5aef964ba9 Author: George Kiagiadakis <george.kiagiadakis@collabora.com> Date: Sun Aug 2 17:38:14 2015 +0200 pad: fix invalid unref after IDLE probe on non-OK flow return In case there is an IDLE probe fired from gst_pad_push_data and it doesn't return GST_FLOW_OK, the code jumps to the probe_stopped label which tries to unref the data object. However, at this point the data object belongs downstream and must not be touched. By setting data = NULL, the code skips this unref. https://bugzilla.gnome.org//show_bug.cgi?id=753151