check: fix a leak in the bus unit test

This commit is contained in:
Wim Taymans 2011-02-16 17:14:46 +01:00
parent 1037fd9919
commit 8d27621e40

View file

@ -589,6 +589,7 @@ GST_START_TEST (test_custom_main_context)
source = gst_bus_create_watch (bus);
g_source_attach (source, ctx);
g_source_set_callback (source, (GSourceFunc) cb_bus_call, loop, NULL);
g_source_unref (source);
gst_object_unref (bus);
GST_INFO ("starting pipeline");