mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-20 21:16:24 +00:00
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:
parent
0e42f92a76
commit
8af52df23b
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue