Commit 5b68b646 authored by Jonathan Matthew's avatar Jonathan Matthew 🍮 Committed by Tim-Philipp Müller
Browse files

icydemux: fix use-after-free of taglist

Broken by commit 4c2f5333 (bug #630205).

https://bugzilla.gnome.org/show_bug.cgi?id=633970
parent 57c9c268
......@@ -375,13 +375,15 @@ static gboolean
gst_icydemux_handle_event (GstPad * pad, GstEvent * event)
{
GstICYDemux *icydemux = GST_ICYDEMUX (GST_PAD_PARENT (pad));
gboolean result;
if (GST_EVENT_TYPE (event) == GST_EVENT_TAG) {
GstTagList *tags;
gst_event_parse_tag (event, &tags);
result = gst_icydemux_tag_found (icydemux, tags);
gst_event_unref (event);
return gst_icydemux_tag_found (icydemux, tags);
return result;
}
if (icydemux->typefinding) {
......
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