summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorin Apostol <florin.apostol@oregan.net>2015-10-07 22:55:44 +0100
committerSebastian Dröge <sebastian@centricular.com>2015-10-07 23:07:59 +0100
commit224da699a9d8e6b75d90893ee41b825cd6786357 (patch)
tree78223f7c9813f0cfab9b20545c268b98beee997a
parent2b8413e1cd77de35cdc235725f84100ae87bf33c (diff)
pad: fix memory leak when sending events to an EOS pad
https://bugzilla.gnome.org/show_bug.cgi?id=756208
-rw-r--r--gst/gstpad.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gst/gstpad.c b/gst/gstpad.c
index c4f55625c..586f9b55e 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: