mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 01:00:37 +00:00
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:
parent
2b8413e1cd
commit
224da699a9
1 changed files with 1 additions and 0 deletions
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue