[Bug 755480] New: TRY_GET leaks string pointer

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Wed Sep 23 09:36:52 PDT 2015


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

            Bug ID: 755480
           Summary: TRY_GET leaks string pointer
    Classification: Platform
           Product: GStreamer
           Version: git master
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gst-editing-services
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: justin.joy.9to5 at gmail.com
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

TRY_GET is very useful macro, but it fails to manage string pointer because it
uses gst_structure_get.

https://developer.gnome.org/gstreamer/stable/gstreamer-GstStructure.html#gst-structure-get

The return value of gst_structure_get_string, otherwise, doesn't need to be
freed.

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