diff options
author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2016-07-27 01:15:21 +0400 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2016-07-29 00:33:49 +0300 |
commit | 69179fe2fc0b91f68699012ba72d329e74ff629e (patch) | |
tree | 2a11526171e52ea28644d8b3cae5b225e4d15854 | |
parent | 1ec3b71cde6997db866a76ff3311cb97c0b6741a (diff) | |
download | qemu-69179fe2fc0b91f68699012ba72d329e74ff629e.zip qemu-69179fe2fc0b91f68699012ba72d329e74ff629e.tar.gz qemu-69179fe2fc0b91f68699012ba72d329e74ff629e.tar.bz2 |
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>
-rw-r--r-- | tests/vhost-user-test.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/vhost-user-test.c b/tests/vhost-user-test.c index 46d0588..27b10c1 100644 --- a/tests/vhost-user-test.c +++ b/tests/vhost-user-test.c @@ -683,6 +683,7 @@ static void test_reconnect(void) qtest_get_arch()); g_test_trap_subprocess(path, 0, 0); g_test_trap_assert_passed(); + g_free(path); } #endif |