mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-31 19:42:26 +00:00
tests: pad: fix buffer leak in new blocking_with_probe_type_idle test
This commit is contained in:
parent
0759058896
commit
072b1c6aba
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue