qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH 4/4] qtest/ide-test: add pc-alloc-uninit call


From: John Snow
Subject: [Qemu-devel] [PATCH 4/4] qtest/ide-test: add pc-alloc-uninit call
Date: Tue, 29 Jul 2014 17:54:44 -0400

Uninitialize the allocator and cleanup residual memory.

Signed-off-by: John Snow <address@hidden>
---
 tests/ide-test.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tests/ide-test.c b/tests/ide-test.c
index 4a0d97f..ad32328 100644
--- a/tests/ide-test.c
+++ b/tests/ide-test.c
@@ -123,6 +123,8 @@ static void ide_test_start(const char *cmdline_fmt, ...)
 
 static void ide_test_quit(void)
 {
+    pc_alloc_uninit(guest_malloc);
+    guest_malloc = NULL;
     qtest_end();
 }
 
-- 
1.9.3




reply via email to

[Prev in Thread] Current Thread [Next in Thread]