mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-13 19:05:37 +00:00
check/videorate: Avoid leaking extra buffers
This commit is contained in:
parent
216ee52090
commit
647b183adb
1 changed files with 2 additions and 0 deletions
|
@ -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…
Reference in a new issue