Commit 3fc68cf9 authored by Tim-Philipp Müller's avatar Tim-Philipp Müller
Browse files

element: unref event in default_send_event in case element has no pads

Spotted by  Haakon Sporsheim.
parent 2401fe36
......@@ -1595,6 +1595,7 @@ gst_element_default_send_event (GstElement * element, GstEvent * event)
} else {
GST_CAT_INFO (GST_CAT_ELEMENT_PADS, "can't send %s event on element %s",
gst_event_unref (event);
return result;
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