[Bug 747990] New: bin/element: gst_bin_add() and gst_element_add_pad() don't take reference in error cases

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Thu Apr 16 04:42:52 PDT 2015


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

            Bug ID: 747990
           Summary: bin/element: gst_bin_add() and gst_element_add_pad()
                    don't take reference in error cases
    Classification: Platform
           Product: GStreamer
           Version: git master
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gstreamer (core)
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: slomo at coaxion.net
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

In all error cases they just return FALSE but don't unref the element/pad. Also
they give a g_critical() or g_warning().


For bindings that's never going to work, it must be consistent with the
annotations always :)

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