summaryrefslogtreecommitdiff
path: root/tests/check/elements/videorate.c
diff options
context:
space:
mode:
authorEdward Hervey <bilboed@bilboed.com>2016-11-28 16:54:55 +0100
committerEdward Hervey <bilboed@bilboed.com>2016-11-28 16:54:55 +0100
commit647b183adb9e2de42556fb0a2ea826f4a645c888 (patch)
tree79377df15e152d941b0aaefd9b03ad0fe1927253 /tests/check/elements/videorate.c
parent216ee520900da43f1798d910e8b28266a1087693 (diff)
downloadgstreamer-plugins-base-647b183adb9e2de42556fb0a2ea826f4a645c888.tar.gz
check/videorate: Avoid leaking extra buffers
Diffstat (limited to 'tests/check/elements/videorate.c')
-rw-r--r--tests/check/elements/videorate.c2
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;