[gst-cvs] gstreamer: gstbus: Unref pipeline after usage in test_custom_main_context unit test
Sebastian Dröge
slomo at kemper.freedesktop.org
Mon Aug 10 20:48:35 PDT 2009
Module: gstreamer
Branch: master
Commit: 46b2a5a34e12f97290066e2be886dbab68db39fe
URL: http://cgit.freedesktop.org/gstreamer/gstreamer/commit/?id=46b2a5a34e12f97290066e2be886dbab68db39fe
Author: Sebastian Dröge <sebastian.droege at collabora.co.uk>
Date: Tue Aug 11 05:47:21 2009 +0200
gstbus: Unref pipeline after usage in test_custom_main_context unit test
This makes the core unit tests valgrind clean again.
---
tests/check/gst/gstbus.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/tests/check/gst/gstbus.c b/tests/check/gst/gstbus.c
index 9151fdd..6519aed 100644
--- a/tests/check/gst/gstbus.c
+++ b/tests/check/gst/gstbus.c
@@ -563,6 +563,7 @@ GST_START_TEST (test_custom_main_context)
if (ctx)
g_main_context_unref (ctx);
g_main_loop_unref (loop);
+ gst_object_unref (pipeline);
}
GST_END_TEST;
More information about the Gstreamer-commits
mailing list