mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-07-27 08:48:19 +00:00
dashdemux: Fix leak in gst_dash_demux_stream_free
Free parsed moof and sync samples with _stream_free(). https://bugzilla.gnome.org/show_bug.cgi?id=774702
This commit is contained in:
parent
7c64ea4832
commit
2b44392095
|
@ -2676,6 +2676,10 @@ gst_dash_demux_stream_free (GstAdaptiveDemuxStream * stream)
|
|||
g_object_unref (dash_stream->sidx_adapter);
|
||||
if (dash_stream->isobmff_adapter)
|
||||
g_object_unref (dash_stream->isobmff_adapter);
|
||||
if (dash_stream->moof)
|
||||
gst_isoff_moof_box_free (dash_stream->moof);
|
||||
if (dash_stream->moof_sync_samples)
|
||||
g_array_free (dash_stream->moof_sync_samples, TRUE);
|
||||
}
|
||||
|
||||
static GstDashDemuxClockDrift *
|
||||
|
|
Loading…
Reference in a new issue