diff options
author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2017-02-05 14:50:35 +0400 |
---|---|---|
committer | Marc-André Lureau <marcandre.lureau@redhat.com> | 2017-03-01 11:51:05 +0400 |
commit | 2607b660e9b9edb11384520249b9b683e1e8c8ab (patch) | |
tree | 8307d53fa4f0013cf00cfed60f5b3ba9bffd122c /tests | |
parent | 3f5f5d04cdc8f8f2212fa9d391020df9c9922040 (diff) |
tests: fix ipmi-bt-test leak
Spotted by ASAN.
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/ipmi-bt-test.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/ipmi-bt-test.c b/tests/ipmi-bt-test.c index e84dd6889b..7e21a9bbcb 100644 --- a/tests/ipmi-bt-test.c +++ b/tests/ipmi-bt-test.c @@ -420,6 +420,7 @@ int main(int argc, char **argv) " -device ipmi-bmc-extern,chardev=ipmi0,id=bmc0" " -device isa-ipmi-bt,bmc=bmc0", emu_port); qtest_start(cmdline); + g_free(cmdline); qtest_irq_intercept_in(global_qtest, "ioapic"); qtest_add_func("/ipmi/extern/connect", test_connect); qtest_add_func("/ipmi/extern/bt_base", test_bt_base); |