[Bug 751641] New: vtdec: fix refcount error in error handling

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Mon Jun 29 02:48:50 PDT 2015


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

            Bug ID: 751641
           Summary: vtdec: fix refcount error in error handling
    Classification: Platform
           Product: GStreamer
           Version: unspecified
                OS: Mac OS
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gst-plugins-bad
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: ilya.konstantinov at gmail.com
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

See code below:

    CFRelease (bbuf);
    if (status != noErr)
      goto sample_error;

    ...
  sample_error:
    GST_ELEMENT_ERROR (vtdec, RESOURCE, FAILED, (NULL),
        ("CMSampleBufferCreate returned %d", (int) status));

    if (bbuf)
      CFRelease (bbuf); // <-- already released

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