goom: fix buffer leak
This commit is contained in:
parent
abc30b7e46
commit
3ce9836a59
@ -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…
x
Reference in New Issue
Block a user