From 11ad341d35c539a77ba02f10a5b0060bc99a5540 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Mon, 10 Aug 2009 15:40:33 +0200 Subject: [PATCH] streamheader: Fix caps leak in the vorbisenc unit test --- tests/check/pipelines/streamheader.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/check/pipelines/streamheader.c b/tests/check/pipelines/streamheader.c index 548fcfc0b0..c3872ad251 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;