commit | 69179fe2fc0b91f68699012ba72d329e74ff629e | [log] [tgz] |
---|---|---|
author | Marc-André Lureau <marcandre.lureau@redhat.com> | Wed Jul 27 01:15:21 2016 +0400 |
committer | Michael S. Tsirkin <mst@redhat.com> | Fri Jul 29 00:33:49 2016 +0300 |
tree | 2a11526171e52ea28644d8b3cae5b225e4d15854 | |
parent | 1ec3b71cde6997db866a76ff3311cb97c0b6741a [diff] [blame] |
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>
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 @@ qtest_get_arch()); g_test_trap_subprocess(path, 0, 0); g_test_trap_assert_passed(); + g_free(path); } #endif