hlssink2: Fix string leak
Need to free allocated string memory on _finalize()
This commit is contained in:
parent
b0d22f8cb4
commit
2c81a50c2c
@ -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);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user