mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-11 03:24:58 -06: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
1 changed files with 1 additions and 0 deletions
|
@ -450,6 +450,7 @@ static void char_udp_test(void)
|
||||||
|
|
||||||
close(sock);
|
close(sock);
|
||||||
g_free(tmp);
|
g_free(tmp);
|
||||||
|
qemu_chr_fe_deinit(&be, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef HAVE_CHARDEV_SERIAL
|
#ifdef HAVE_CHARDEV_SERIAL
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue