summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVincent Penquerc'h <vincent.penquerch@collabora.co.uk>2012-01-13 15:57:20 +0000
committerVincent Penquerc'h <vincent.penquerch@collabora.co.uk>2012-01-13 15:57:20 +0000
commit4c2a2063cf20cf49e81213b156106ae4b541ad7c (patch)
treec45ffb86f148299b5e9711a03ffe2f242094165a
parentf10e8192fa8968e84724b627bb3de5fb19fb174d (diff)
tests: fix caps leak in videotestsrc test
-rw-r--r--tests/check/elements/videocrop.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/check/elements/videocrop.c b/tests/check/elements/videocrop.c
index 19b5c1756..fc7c5dc14 100644
--- a/tests/check/elements/videocrop.c
+++ b/tests/check/elements/videocrop.c
@@ -350,6 +350,7 @@ GST_START_TEST (test_crop_to_1x1)
if (g_strcmp0 (gst_structure_get_name (s), "video/x-raw-gray") == 0) {
/* videotestsrc does not support this format */
+ gst_caps_unref (caps);
continue;
}