qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PULL 13/41] test-char: destroy chardev-udp after test


From: Paolo Bonzini
Subject: [Qemu-devel] [PULL 13/41] test-char: destroy chardev-udp after test
Date: Thu, 13 Jul 2017 16:24:06 +0200

From: Anton Nefedov <address@hidden>

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 <address@hidden>
Reviewed-by: Marc-André Lureau <address@hidden>
Message-Id: <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>
---
 tests/test-char.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tests/test-char.c b/tests/test-char.c
index 38aaa27..536536e 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
-- 
1.8.3.1





reply via email to

[Prev in Thread] Current Thread [Next in Thread]