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:
Seungha Yang 2016-11-19 16:12:06 +09:00 committed by Sebastian Dröge
parent 7c64ea4832
commit 2b44392095

View file

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