pipeline: fix bus leak in seek test

gst_bus_add_signal_watch_full() keeps a ref on the bus which should
be released using gst_bus_remove_signal_watch().

https://bugzilla.gnome.org/show_bug.cgi?id=765903
This commit is contained in:
Guillaume Desmottes 2016-05-02 09:32:47 +02:00 committed by Sebastian Dröge
parent 0e42f92a76
commit 8af52df23b

View file

@ -190,6 +190,7 @@ GST_START_TEST (test_seek)
fail_unless (res != GST_STATE_CHANGE_FAILURE, NULL);
/* cleanup */
gst_bus_remove_signal_watch (bus);
gst_object_unref (bus);
gst_object_unref (bin);
}