From: Anton Nefedov Date: Thu, 6 Jul 2017 12:08:53 +0000 (+0300) Subject: test-char: destroy chardev-udp after test X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=12f043c240580b5b4b2d67d8deb29537d679e3a2;p=qemu.git test-char: destroy chardev-udp after test 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 --- 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