mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-22 16:26:39 +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);
|
goom = GST_GOOM (parent);
|
||||||
if (goom->bps == 0) {
|
if (goom->bps == 0) {
|
||||||
|
gst_buffer_unref (buffer);
|
||||||
ret = GST_FLOW_NOT_NEGOTIATED;
|
ret = GST_FLOW_NOT_NEGOTIATED;
|
||||||
goto beach;
|
goto beach;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue