check/videorate: Avoid leaking extra buffers

This commit is contained in:
Edward Hervey 2016-11-28 16:54:55 +01:00
parent 216ee52090
commit 647b183adb

View file

@ -1270,6 +1270,7 @@ GST_START_TEST (test_rate)
/* cleanup */
gst_pad_remove_probe (mysinkpad, probe);
cleanup_videorate (videorate);
gst_buffer_unref (buf);
}
GST_END_TEST;
@ -1389,6 +1390,7 @@ GST_START_TEST (test_query_position)
/* cleanup */
cleanup_videorate (videorate);
gst_buffer_unref (buf);
}
GST_END_TEST;