From 46b2a5a34e12f97290066e2be886dbab68db39fe Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sebastian=20Dr=C3=B6ge?= Date: Tue, 11 Aug 2009 05:47:21 +0200 Subject: [PATCH] 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 file changed, 1 insertion(+) 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; -- 2.7.4