Commit 647b183a authored by Edward Hervey's avatar Edward Hervey

check/videorate: Avoid leaking extra buffers

parent 216ee520
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment