diff --git a/tests/check/gst/gstpad.c b/tests/check/gst/gstpad.c index 6c62acf48c..1d8653754a 100644 --- a/tests/check/gst/gstpad.c +++ b/tests/check/gst/gstpad.c @@ -1153,6 +1153,7 @@ idletest_sink_pad_chain (GstPad * pad, GstObject * parent, GstBuffer * buf) { if (idle_probe_running) fail ("Should not be reached"); + gst_buffer_unref (buf); return GST_FLOW_OK; }