[Bug 753188] dashdemux: memory leak in gst_dash_demux_stream_update_fragment_info
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Wed Aug 5 15:24:49 PDT 2015
https://bugzilla.gnome.org/show_bug.cgi?id=753188
Sebastian Dröge (slomo) <slomo at coaxion.net> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
Target Milestone|git master |1.5.3
--- Comment #2 from Sebastian Dröge (slomo) <slomo at coaxion.net> ---
commit 93c10d3f0ecd28a7164aea705ae6f623fca5030e
Author: Florin Apostol <florin.apostol at oregan.net>
Date: Mon Aug 3 16:57:31 2015 +0100
dashdemux: Fix leak in gst_dash_demux_stream_update_fragment_info()
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
https://bugzilla.gnome.org/show_bug.cgi?id=753188
--
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