gstbus: Unref pipeline after usage in test_custom_main_context unit test
authorSebastian Dröge <sebastian.droege@collabora.co.uk>
Tue, 11 Aug 2009 03:47:21 +0000 (05:47 +0200)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Tue, 11 Aug 2009 03:48:22 +0000 (05:48 +0200)
This makes the core unit tests valgrind clean again.

tests/check/gst/gstbus.c

index 9151fdd..6519aed 100644 (file)
@@ -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;