mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-25 09:40: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 */
|
||||
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;
|
||||
|
|
Loading…
Reference in a new issue