summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/check/elements/legacyresample.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/check/elements/legacyresample.c b/tests/check/elements/legacyresample.c
index 4e804e3e..26c572a6 100644
--- a/tests/check/elements/legacyresample.c
+++ b/tests/check/elements/legacyresample.c
@@ -86,6 +86,7 @@ setup_legacyresample (int channels, int inrate, int outrate)
* later */
gst_pad_set_caps (mysinkpad, caps);
gst_pad_use_fixed_caps (mysinkpad);
+ gst_caps_unref (caps);
gst_pad_set_active (mysinkpad, TRUE);
gst_pad_set_active (mysrcpad, TRUE);