hlssink2: Fix string leak

Need to free allocated string memory on _finalize()
This commit is contained in:
Seungha Yang 2018-11-27 16:06:53 +09:00
parent b0d22f8cb4
commit 2c81a50c2c

View file

@ -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);