[Bug 753151] gstpad: fix invalid object unref

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Tue Aug 4 03:12:45 PDT 2015


https://bugzilla.gnome.org/show_bug.cgi?id=753151

Tim-Philipp Müller <t.i.m at zen.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |t.i.m at zen.co.uk
         Resolution|---                         |FIXED
   Target Milestone|git master                  |1.5.3

--- Comment #1 from Tim-Philipp Müller <t.i.m at zen.co.uk> ---
commit 794a08d7e9e4d1fc483c1fac49369f5aef964ba9
Author: George Kiagiadakis <george.kiagiadakis at 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

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list