[gst-cvs] gst-plugins-base: streamheader: Fix caps leak in the vorbisenc unit test
Sebastian Dröge
slomo at kemper.freedesktop.org
Mon Aug 10 06:40:48 PDT 2009
Module: gst-plugins-base
Branch: master
Commit: 11ad341d35c539a77ba02f10a5b0060bc99a5540
URL: http://cgit.freedesktop.org/gstreamer/gst-plugins-base/commit/?id=11ad341d35c539a77ba02f10a5b0060bc99a5540
Author: Sebastian Dröge <sebastian.droege at collabora.co.uk>
Date: Mon Aug 10 15:40:33 2009 +0200
streamheader: Fix caps leak in the vorbisenc unit test
---
tests/check/pipelines/streamheader.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/tests/check/pipelines/streamheader.c b/tests/check/pipelines/streamheader.c
index 548fcfc..c3872ad 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;
More information about the Gstreamer-commits
mailing list