Commit 668cdf8c authored by Seungha Yang's avatar Seungha Yang 🐑 Committed by Tim-Philipp Müller

hlssink2: Fix string leak

Need to free allocated string memory on _finalize()
parent 47786831
......@@ -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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment