summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVincent Penquerc'h <vincent.penquerch@collabora.co.uk>2012-01-13 15:57:20 +0000
committerTim-Philipp Müller <tim.muller@collabora.co.uk>2012-01-18 10:03:08 +0000
commitbe0e99b7378055e37a7c4e838c2b6127f1c37a91 (patch)
treec34964e8fd22b18252e99fd72789949bed8a613c
parentca7251bbe35625fa2fec543177abe5a41103a1fe (diff)
tests: fix caps leak in videocrop 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;
}