mirror of
https://github.com/xemu-project/xemu.git
synced 2024-11-23 19:49:43 +00:00
qtest/ide: Uninitialize PC allocator
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>
This commit is contained in:
parent
ec2f160538
commit
0142f88bff
@ -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();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user