mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 04:01:08 +00:00
hlsdemux: Fix GHashTable leak
https://bugzilla.gnome.org/show_bug.cgi?id=778828
This commit is contained in:
parent
63e280df22
commit
b1efa8d499
1 changed files with 4 additions and 0 deletions
|
@ -123,6 +123,10 @@ gst_hls_demux_finalize (GObject * obj)
|
|||
|
||||
gst_hls_demux_reset (GST_ADAPTIVE_DEMUX_CAST (demux));
|
||||
g_mutex_clear (&demux->keys_lock);
|
||||
if (demux->keys) {
|
||||
g_hash_table_unref (demux->keys);
|
||||
demux->keys = NULL;
|
||||
}
|
||||
|
||||
G_OBJECT_CLASS (parent_class)->finalize (obj);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue