[Bug 791407] New: pad: _start_task() will leak the user data if the task is in paused state

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Fri Dec 8 19:56:19 UTC 2017


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

            Bug ID: 791407
           Summary: pad: _start_task() will leak the user data if the task
                    is in paused state
    Classification: Platform
           Product: GStreamer
           Version: 1.13.x
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gstreamer (core)
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: nicolas at ndufresne.ca
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

The pad does not mimic one to one the GstTask API. So basically
gst_pad_start_stask() is a combination of task_new() and task_start(). When the
task has been paused, this function behaves like task_start() ignoring the
callback, user data and destroy notify. This is kind of bug prone, as code may
expect these to be updated.

But the main problem is that the userdata will be leaked since the
GDestroyNotify is not called.

-- 
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