summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/ide-test.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/ide-test.c b/tests/ide-test.c
index e2b4efcc3f..a77a037d1e 100644
--- a/tests/ide-test.c
+++ b/tests/ide-test.c
@@ -120,6 +120,8 @@ static void ide_test_start(const char *cmdline_fmt, ...)
qtest_start(cmdline);
qtest_irq_intercept_in(global_qtest, "ioapic");
guest_malloc = pc_alloc_init();
+
+ g_free(cmdline);
}
static void ide_test_quit(void)