check/videorate: Avoid leaking extra buffers
This commit is contained in:
parent
216ee52090
commit
647b183adb
@ -1270,6 +1270,7 @@ GST_START_TEST (test_rate)
|
|||||||
/* cleanup */
|
/* cleanup */
|
||||||
gst_pad_remove_probe (mysinkpad, probe);
|
gst_pad_remove_probe (mysinkpad, probe);
|
||||||
cleanup_videorate (videorate);
|
cleanup_videorate (videorate);
|
||||||
|
gst_buffer_unref (buf);
|
||||||
}
|
}
|
||||||
|
|
||||||
GST_END_TEST;
|
GST_END_TEST;
|
||||||
@ -1389,6 +1390,7 @@ GST_START_TEST (test_query_position)
|
|||||||
|
|
||||||
/* cleanup */
|
/* cleanup */
|
||||||
cleanup_videorate (videorate);
|
cleanup_videorate (videorate);
|
||||||
|
gst_buffer_unref (buf);
|
||||||
}
|
}
|
||||||
|
|
||||||
GST_END_TEST;
|
GST_END_TEST;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user