From 12f043c240580b5b4b2d67d8deb29537d679e3a2 Mon Sep 17 00:00:00 2001 From: Anton Nefedov Date: Thu, 6 Jul 2017 15:08:53 +0300 Subject: [PATCH] test-char: destroy chardev-udp after test MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit this is only not a problem if the test is last in a suite, otherwise it makes the following main_loop() calls to fail Signed-off-by: Anton Nefedov Reviewed-by: Marc-André Lureau Message-Id: <1499342940-56739-7-git-send-email-anton.nefedov@virtuozzo.com> Signed-off-by: Paolo Bonzini --- tests/test-char.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/test-char.c b/tests/test-char.c index 38aaa270ab..536536e2d8 100644 --- a/tests/test-char.c +++ b/tests/test-char.c @@ -450,6 +450,7 @@ static void char_udp_test(void) close(sock); g_free(tmp); + qemu_chr_fe_deinit(&be, true); } #ifdef HAVE_CHARDEV_SERIAL