From 224da699a9d8e6b75d90893ee41b825cd6786357 Mon Sep 17 00:00:00 2001 From: Florin Apostol Date: Wed, 7 Oct 2015 22:55:44 +0100 Subject: [PATCH] pad: fix memory leak when sending events to an EOS pad https://bugzilla.gnome.org/show_bug.cgi?id=756208 --- gst/gstpad.c | 1 + 1 file changed, 1 insertion(+) 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: