mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-20 00:31:13 +00:00
audiodecoder: Don't leak events
https://bugzilla.gnome.org/show_bug.cgi?id=736788
This commit is contained in:
parent
add8f02703
commit
c674a0aa64
1 changed files with 2 additions and 0 deletions
|
@ -1969,8 +1969,10 @@ _flush_events (GstPad * pad, GList * events)
|
|||
gst_event_unref (tmp->data);
|
||||
} else {
|
||||
gst_pad_store_sticky_event (pad, GST_EVENT_CAST (tmp->data));
|
||||
gst_event_unref (tmp->data);
|
||||
}
|
||||
}
|
||||
g_list_free (events);
|
||||
|
||||
return NULL;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue