[Bug 753188] New: dashdemux: memory leak in gst_dash_demux_stream_update_fragment_info

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Mon Aug 3 08:55:58 PDT 2015


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

            Bug ID: 753188
           Summary: dashdemux: memory leak in
                    gst_dash_demux_stream_update_fragment_info
    Classification: Platform
           Product: GStreamer
           Version: git master
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gst-plugins-bad
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: florin.apostol at oregan.net
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

The gst_dash_demux_stream_update_fragment_info function could call
gst_dash_demux_stream_update_headers_info function twice. The
gst_dash_demux_stream_update_headers_info function will set header_uri and
index_uri to some newly allocated strings. The values set by the first call of
gst_dash_demux_stream_update_headers_info will leak when the function is called
for a second time.

The solution is to call gst_adaptive_demux_stream_fragment_clear before the
second call of gst_dash_demux_stream_update_headers_info

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