projects
/
platform
/
upstream
/
gst-plugins-bad.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
604b07e
)
dashdemux: Fix leak in gst_dash_demux_stream_free
author
Seungha Yang
<sh.yang@lge.com>
Sat, 19 Nov 2016 07:12:06 +0000
(16:12 +0900)
committer
Sebastian Dröge
<sebastian@centricular.com>
Thu, 24 Nov 2016 11:40:45 +0000
(13:40 +0200)
Free parsed moof and sync samples with _stream_free().
https://bugzilla.gnome.org/show_bug.cgi?id=774702
ext/dash/gstdashdemux.c
patch
|
blob
|
history
diff --git
a/ext/dash/gstdashdemux.c
b/ext/dash/gstdashdemux.c
index 242a7c24a125ce93e20878bbd02b46c5a207a75a..271f70fd244b24ed3aa5013e6dfb00eabaa73885 100644
(file)
--- a/
ext/dash/gstdashdemux.c
+++ b/
ext/dash/gstdashdemux.c
@@
-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 *