diff options
author | Edward Hervey <bilboed@bilboed.com> | 2016-11-28 16:54:55 +0100 |
---|---|---|
committer | Edward Hervey <bilboed@bilboed.com> | 2016-11-28 16:54:55 +0100 |
commit | 647b183adb9e2de42556fb0a2ea826f4a645c888 (patch) | |
tree | 79377df15e152d941b0aaefd9b03ad0fe1927253 /tests/check/elements | |
parent | 216ee520900da43f1798d910e8b28266a1087693 (diff) | |
download | gstreamer-plugins-base-647b183adb9e2de42556fb0a2ea826f4a645c888.tar.gz |
check/videorate: Avoid leaking extra buffers
Diffstat (limited to 'tests/check/elements')
-rw-r--r-- | tests/check/elements/videorate.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/check/elements/videorate.c b/tests/check/elements/videorate.c index a788196dc..132f9c1ad 100644 --- a/tests/check/elements/videorate.c +++ b/tests/check/elements/videorate.c @@ -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; |