pad: fix memory leak when sending events to an EOS pad

https://bugzilla.gnome.org/show_bug.cgi?id=756208
This commit is contained in:
Florin Apostol 2015-10-07 22:55:44 +01:00 committed by Sebastian Dröge
parent 2b8413e1cd
commit 224da699a9

View file

@ -5331,6 +5331,7 @@ eos:
{ {
GST_DEBUG_OBJECT (pad, "We're EOS"); GST_DEBUG_OBJECT (pad, "We're EOS");
GST_OBJECT_UNLOCK (pad); GST_OBJECT_UNLOCK (pad);
gst_event_unref (event);
goto done; goto done;
} }
done: done: