From 54e4551cd884b6a6f98d18f4e95ae10ca75dbd89 Mon Sep 17 00:00:00 2001 From: Guillaume Desmottes Date: Tue, 12 Jul 2016 12:03:53 +0200 Subject: [PATCH] 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 --- tests/check/elements/videoscale.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/check/elements/videoscale.c b/tests/check/elements/videoscale.c index 9762048e60..877df4ffd4 100644 --- a/tests/check/elements/videoscale.c +++ b/tests/check/elements/videoscale.c @@ -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,