diff --git a/gst/goom/gstgoom.c b/gst/goom/gstgoom.c index 7da041c04e..5c8bbcd722 100644 --- a/gst/goom/gstgoom.c +++ b/gst/goom/gstgoom.c @@ -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; }