tests: pad: fix buffer leak in new blocking_with_probe_type_idle test

This commit is contained in:
Tim-Philipp Müller 2015-04-18 11:25:16 +01:00
parent 0759058896
commit 072b1c6aba

View file

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