diff options
| author | Marc-André Lureau | 2016-07-26 23:15:21 +0200 |
|---|---|---|
| committer | Michael S. Tsirkin | 2016-07-28 23:33:49 +0200 |
| commit | 69179fe2fc0b91f68699012ba72d329e74ff629e (patch) | |
| tree | 2a11526171e52ea28644d8b3cae5b225e4d15854 | |
| parent | tests: plug some leaks in virtio-net-test (diff) | |
| download | qemu-69179fe2fc0b91f68699012ba72d329e74ff629e.tar.gz qemu-69179fe2fc0b91f68699012ba72d329e74ff629e.tar.xz qemu-69179fe2fc0b91f68699012ba72d329e74ff629e.zip | |
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 46d05881b6..27b10c19b8 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 |
