goom: fix buffer leak

This commit is contained in:
Mark Nauwelaerts 2012-02-16 23:33:15 +01:00
parent abc30b7e46
commit 3ce9836a59

View file

@ -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;
}