diff --git a/gst/gstpad.c b/gst/gstpad.c index c4f55625cd..586f9b55e2 100644 --- a/gst/gstpad.c +++ b/gst/gstpad.c @@ -5331,6 +5331,7 @@ eos: { GST_DEBUG_OBJECT (pad, "We're EOS"); GST_OBJECT_UNLOCK (pad); + gst_event_unref (event); goto done; } done: