Fix a invalid memory access
Note: This probably addresses the ramdom failed CI on mingw64
This commit is contained in:
@ -58,9 +58,9 @@ static void release_common(void *t)
|
|||||||
|
|
||||||
// these function is not available outside qemu
|
// these function is not available outside qemu
|
||||||
// so we keep them here instead of outside uc_close.
|
// so we keep them here instead of outside uc_close.
|
||||||
|
memory_free(s->uc);
|
||||||
address_space_destroy(&s->uc->address_space_memory);
|
address_space_destroy(&s->uc->address_space_memory);
|
||||||
address_space_destroy(&s->uc->address_space_io);
|
address_space_destroy(&s->uc->address_space_io);
|
||||||
memory_free(s->uc);
|
|
||||||
/* clean up uc->l1_map. */
|
/* clean up uc->l1_map. */
|
||||||
tb_cleanup(s->uc);
|
tb_cleanup(s->uc);
|
||||||
/* clean up tcg_ctx->code_gen_buffer. */
|
/* clean up tcg_ctx->code_gen_buffer. */
|
||||||
|
Reference in New Issue
Block a user