tests: fix bus leak

gst_bus_remove_signal_watch() has to be called to release the ref
taken by gst_bus_add_signal_watch().

https://bugzilla.gnome.org/show_bug.cgi?id=768843
This commit is contained in:
Guillaume Desmottes 2016-07-15 10:31:35 +02:00 committed by Tim-Philipp Müller
parent f1f13de8d7
commit 8d6d6bd2aa

View file

@ -723,6 +723,7 @@ GST_START_TEST (test_live_seeking)
g_main_loop_unref (main_loop);
if (play_seek_event)
gst_event_unref (play_seek_event);
gst_bus_remove_signal_watch (bus);
gst_object_unref (bus);
gst_object_unref (bin);
}