mirror of
https://github.com/qemu/qemu.git
synced 2024-12-02 08:13:34 +08:00
tests: fix vhost-user-test leak
Spotted by valgrind. Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
This commit is contained in:
parent
1ec3b71cde
commit
69179fe2fc
@ -683,6 +683,7 @@ static void test_reconnect(void)
|
|||||||
qtest_get_arch());
|
qtest_get_arch());
|
||||||
g_test_trap_subprocess(path, 0, 0);
|
g_test_trap_subprocess(path, 0, 0);
|
||||||
g_test_trap_assert_passed();
|
g_test_trap_assert_passed();
|
||||||
|
g_free(path);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user