mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-22 00:06:36 +00:00
goom: fix buffer leak
This commit is contained in:
parent
abc30b7e46
commit
3ce9836a59
1 changed files with 1 additions and 0 deletions
|
@ -494,6 +494,7 @@ gst_goom_chain (GstPad * pad, GstObject * parent, GstBuffer * buffer)
|
|||
|
||||
goom = GST_GOOM (parent);
|
||||
if (goom->bps == 0) {
|
||||
gst_buffer_unref (buffer);
|
||||
ret = GST_FLOW_NOT_NEGOTIATED;
|
||||
goto beach;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue