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;