diff options
author | Seungha Yang <seungha.yang@navercorp.com> | 2018-11-27 16:06:53 +0900 |
---|---|---|
committer | Seungha Yang <seungha.yang@navercorp.com> | 2018-11-27 16:08:17 +0900 |
commit | 2c81a50c2c3c0484ee4cca36adb197689d7db6af (patch) | |
tree | 30f8e409153890af5eb2da1e64ac6f4ef57fb361 /ext/hls | |
parent | b0d22f8cb4827f0e255cb652e97a8e1258ebd244 (diff) | |
download | gstreamer-plugins-bad-2c81a50c2c3c0484ee4cca36adb197689d7db6af.tar.gz |
hlssink2: Fix string leak
Need to free allocated string memory on _finalize()
Diffstat (limited to 'ext/hls')
-rw-r--r-- | ext/hls/gsthlssink2.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/hls/gsthlssink2.c b/ext/hls/gsthlssink2.c index 79233b0f6..760f0b91f 100644 --- 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); |