mirror of
https://github.com/qemu/qemu.git
synced 2024-11-25 20:03:37 +08:00
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 <anton.nefedov@virtuozzo.com> Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com> Message-Id: <1499342940-56739-7-git-send-email-anton.nefedov@virtuozzo.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
3065070153
commit
12f043c240
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user