hlsdemux: Fix GHashTable leak

https://bugzilla.gnome.org/show_bug.cgi?id=778828
This commit is contained in:
Seungha Yang 2017-02-17 21:25:21 +09:00 committed by Tim-Philipp Müller
parent 63e280df22
commit b1efa8d499

View file

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