diff options
author | Seungha Yang <seungha.yang@navercorp.com> | 2018-11-27 16:06:53 +0900 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.com> | 2019-05-02 09:50:35 +0100 |
commit | 668cdf8c4694437fc1ebb3d4b4d9e8178d7567a8 (patch) | |
tree | 9b8a1d80d761423f6d99392f35e14acd35d1c68f | |
parent | 47786831fdb09d1b80b1aef6a8d1a29fcea03afd (diff) | |
download | gstreamer-plugins-bad-668cdf8c4694437fc1ebb3d4b4d9e8178d7567a8.tar.gz |
hlssink2: Fix string leak
Need to free allocated string memory on _finalize()
-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 64a16424a..4fee5c140 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); |