mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-21 07:46:38 +00:00
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:
parent
f1f13de8d7
commit
8d6d6bd2aa
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue