From 69179fe2fc0b91f68699012ba72d329e74ff629e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= Date: Wed, 27 Jul 2016 01:15:21 +0400 Subject: [PATCH] tests: fix vhost-user-test leak MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Spotted by valgrind. Signed-off-by: Marc-André Lureau Reviewed-by: Michael S. Tsirkin Signed-off-by: Michael S. Tsirkin --- tests/vhost-user-test.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/vhost-user-test.c b/tests/vhost-user-test.c index 46d05881b669..27b10c19b88b 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