videomixer: fix event leaks in test
https://bugzilla.gnome.org/show_bug.cgi?id=766561
This commit is contained in:
parent
c7621e24ec
commit
23c8f7128b
@ -370,7 +370,7 @@ GST_START_TEST (test_play_twice)
|
|||||||
/* cleanup */
|
/* cleanup */
|
||||||
g_main_loop_unref (main_loop);
|
g_main_loop_unref (main_loop);
|
||||||
gst_consistency_checker_free (consist);
|
gst_consistency_checker_free (consist);
|
||||||
gst_event_ref (play_seek_event);
|
gst_event_unref (play_seek_event);
|
||||||
gst_bus_remove_signal_watch (bus);
|
gst_bus_remove_signal_watch (bus);
|
||||||
gst_object_unref (bus);
|
gst_object_unref (bus);
|
||||||
gst_object_unref (bin);
|
gst_object_unref (bin);
|
||||||
@ -473,7 +473,7 @@ GST_START_TEST (test_play_twice_then_add_and_play_again)
|
|||||||
|
|
||||||
/* cleanup */
|
/* cleanup */
|
||||||
g_main_loop_unref (main_loop);
|
g_main_loop_unref (main_loop);
|
||||||
gst_event_ref (play_seek_event);
|
gst_event_unref (play_seek_event);
|
||||||
gst_consistency_checker_free (consist);
|
gst_consistency_checker_free (consist);
|
||||||
gst_bus_remove_signal_watch (bus);
|
gst_bus_remove_signal_watch (bus);
|
||||||
gst_object_unref (bus);
|
gst_object_unref (bus);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user