summaryrefslogtreecommitdiff
path: root/gst/goom/gstgoom.c
diff options
context:
space:
mode:
Diffstat (limited to 'gst/goom/gstgoom.c')
-rw-r--r--gst/goom/gstgoom.c1
1 files changed, 1 insertions, 0 deletions
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;
}