projects
/
platform
/
upstream
/
gst-plugins-good.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f054526
)
matroskademux: Don't leak allocated index memory
author
Seungha Yang
<seungha.yang@navercorp.com>
Wed, 26 Dec 2018 11:27:58 +0000
(20:27 +0900)
committer
Seungha Yang
<seungha.yang@navercorp.com>
Wed, 26 Dec 2018 11:31:10 +0000
(20:31 +0900)
Don't forget to free returned memory from _search_pos()
gst/matroska/matroska-demux.c
patch
|
blob
|
history
diff --git
a/gst/matroska/matroska-demux.c
b/gst/matroska/matroska-demux.c
index
f75b98b
..
611463c
100644
(file)
--- a/
gst/matroska/matroska-demux.c
+++ b/
gst/matroska/matroska-demux.c
@@
-5320,6
+5320,8
@@
gst_matroska_demux_parse_id (GstMatroskaDemux * demux, guint32 id,
GST_DEBUG_OBJECT (demux,
"estimated duration as %" GST_TIME_FORMAT,
GST_TIME_ARGS (demux->common.segment.duration));
+
+ g_free (last);
}
}