projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1ec3b71
)
tests: fix vhost-user-test leak
author
Marc-André Lureau
<marcandre.lureau@redhat.com>
Tue, 26 Jul 2016 21:15:21 +0000
(
01:15
+0400)
committer
Michael S. Tsirkin
<mst@redhat.com>
Thu, 28 Jul 2016 21:33:49 +0000
(
00:33
+0300)
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>
tests/vhost-user-test.c
patch
|
blob
|
history
diff --git
a/tests/vhost-user-test.c
b/tests/vhost-user-test.c
index 46d05881b66959404a64b78197682f52836cf778..27b10c19b88bb7f2ab2420caa8cd4e08cfdeea71 100644
(file)
--- 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