adaptivedemux: fix pending tags leak

https://bugzilla.gnome.org/show_bug.cgi?id=766662
This commit is contained in:
Guillaume Desmottes 2016-05-18 16:55:38 +03:00 committed by Tim-Philipp Müller
parent 7ffe5da49f
commit d7c47107ce

View file

@ -1219,6 +1219,8 @@ gst_adaptive_demux_stream_free (GstAdaptiveDemuxStream * stream)
if (stream->pending_caps)
gst_caps_unref (stream->pending_caps);
g_clear_pointer (&stream->pending_tags, gst_tag_list_unref);
g_object_unref (stream->adapter);
g_free (stream);