From: Sebastian Dröge Date: Mon, 10 Aug 2009 13:40:33 +0000 (+0200) Subject: streamheader: Fix caps leak in the vorbisenc unit test X-Git-Tag: 1.19.3~507^2~15080 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2d691f140b15b0cd2e9f49c37bba4c39c116af00;p=platform%2Fupstream%2Fgstreamer.git streamheader: Fix caps leak in the vorbisenc unit test --- 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;