mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-18 07:47:17 +00:00
videoscale: fix bus leak in test
gst_bus_add_signal_watch() takes a ref on the bus which should be released using gst_bus_remove_signal_watch(). https://bugzilla.gnome.org/show_bug.cgi?id=768718
This commit is contained in:
parent
9f594d1562
commit
54e4551cd8
1 changed files with 1 additions and 0 deletions
|
@ -633,6 +633,7 @@ _test_negotiation (const gchar * src_templ, const gchar * sink_templ,
|
|||
g_signal_connect (bus, "message", G_CALLBACK (_test_negotiation_message),
|
||||
&data);
|
||||
|
||||
gst_bus_remove_signal_watch (bus);
|
||||
gst_object_unref (bus);
|
||||
|
||||
fail_unless (gst_element_set_state (pipeline,
|
||||
|
|
Loading…
Reference in a new issue