From d728d59a00bbe1084782b048baece2caddd63bfd Mon Sep 17 00:00:00 2001 From: David Svensson Fors Date: Wed, 20 Mar 2013 12:33:54 +0100 Subject: [PATCH] tests: remove extra unref in test_setup_non_existing_stream The unref is not needed anymore, teardown runs without it. https://bugzilla.gnome.org/show_bug.cgi?id=696542 --- tests/check/gst/rtspserver.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/tests/check/gst/rtspserver.c b/tests/check/gst/rtspserver.c index 3377a80468..2a01aed4e5 100644 --- a/tests/check/gst/rtspserver.c +++ b/tests/check/gst/rtspserver.c @@ -670,11 +670,6 @@ GST_START_TEST (test_setup_non_existing_stream) gst_rtsp_connection_free (conn); stop_server (); iterate (); - - /* need to unref the server here, otherwise threads will remain - * and teardown won't be run */ - g_object_unref (server); - server = NULL; } GST_END_TEST;