projects
/
sdk
/
emulator
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ec2f160
)
qtest/ide: Uninitialize PC allocator
author
John Snow
<jsnow@redhat.com>
Fri, 1 Aug 2014 15:38:59 +0000
(11:38 -0400)
committer
Stefan Hajnoczi
<stefanha@redhat.com>
Mon, 8 Sep 2014 10:12:43 +0000
(11:12 +0100)
Use the new call to pc_alloc_uninit
as a test for the new pathways.
The leak checking / assert pathways are
not enabled in this patch, leaving this
as an option to future test writers.
Signed-off-by: John Snow <jsnow@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
tests/ide-test.c
patch
|
blob
|
history
diff --git
a/tests/ide-test.c
b/tests/ide-test.c
index
ffce6ed
..
b7a97e9
100644
(file)
--- a/
tests/ide-test.c
+++ b/
tests/ide-test.c
@@
-126,6
+126,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();
}