mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
icydemux: fix use-after-free of taglist
Broken by commit 4c2f5333
(bug #630205).
https://bugzilla.gnome.org/show_bug.cgi?id=633970
This commit is contained in:
parent
57c9c268ed
commit
5b68b64617
1 changed files with 3 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue