Commit 2c81a50c authored by Seungha Yang's avatar Seungha Yang 🐑

hlssink2: Fix string leak

Need to free allocated string memory on _finalize()
parent b0d22f8c
Pipeline #10122 passed with stages
in 5 minutes and 14 seconds
......@@ -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