summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian.droege@collabora.co.uk>2009-08-10 15:40:33 +0200
committerTim-Philipp Müller <tim@centricular.net>2012-09-11 01:54:33 +0100
commit2d691f140b15b0cd2e9f49c37bba4c39c116af00 (patch)
treefc5046c37e6f3a00fb53e72badbf33c7d9ca38d2 /tests
parent24840dbdcf15888ae733dc51060286833b440e4f (diff)
downloadgstreamer-plugins-bad-2d691f140b15b0cd2e9f49c37bba4c39c116af00.tar.gz
streamheader: Fix caps leak in the vorbisenc unit test
Diffstat (limited to 'tests')
-rw-r--r--tests/check/pipelines/streamheader.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/check/pipelines/streamheader.c b/tests/check/pipelines/streamheader.c
index 548fcfc0b..c3872ad25 100644
--- a/tests/check/pipelines/streamheader.c
+++ b/tests/check/pipelines/streamheader.c
@@ -156,6 +156,8 @@ buffer_probe_cb (GstPad * pad, GstBuffer * buffer)
}
fail_unless (found, "Did not find incoming IN_CAPS buffer %p on caps",
buffer);
+
+ gst_caps_unref (caps);
}
return TRUE;