summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2016-07-12 12:03:53 +0200
committerSebastian Dröge <sebastian@centricular.com>2016-07-12 13:12:19 +0300
commit54e4551cd884b6a6f98d18f4e95ae10ca75dbd89 (patch)
treee4329e1a86da7e05e76492b7c305d7099fef6149 /tests
parent9f594d1562198791416e964e6711af1866683b33 (diff)
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
Diffstat (limited to 'tests')
-rw-r--r--tests/check/elements/videoscale.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/check/elements/videoscale.c b/tests/check/elements/videoscale.c
index 9762048e6..877df4ffd 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,