projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b0d22f8
)
hlssink2: Fix string leak
author
Seungha Yang
<seungha.yang@navercorp.com>
Tue, 27 Nov 2018 07:06:53 +0000
(16:06 +0900)
committer
Seungha Yang
<seungha.yang@navercorp.com>
Tue, 27 Nov 2018 07:08:17 +0000
(16:08 +0900)
Need to free allocated string memory on _finalize()
ext/hls/gsthlssink2.c
patch
|
blob
|
history
diff --git
a/ext/hls/gsthlssink2.c
b/ext/hls/gsthlssink2.c
index
79233b0
..
760f0b9
100644
(file)
--- a/
ext/hls/gsthlssink2.c
+++ b/
ext/hls/gsthlssink2.c
@@
-104,6
+104,7
@@
gst_hls_sink2_finalize (GObject * object)
g_free (sink->location);
g_free (sink->playlist_location);
g_free (sink->playlist_root);
+ g_free (sink->current_location);
if (sink->playlist)
gst_m3u8_playlist_free (sink->playlist);