mirror of
https://github.com/yuzu-mirror/unicorn.git
synced 2026-04-21 06:13:54 +00:00
fix a bug on releasing mapped_blocks in uc_close()
This commit is contained in:
parent
9e929ca2f3
commit
b6dd516977
1 changed files with 1 additions and 1 deletions
2
uc.c
2
uc.c
|
|
@ -284,7 +284,7 @@ uc_err uc_close(uch *handle)
|
|||
|
||||
free(uc->hook_callbacks);
|
||||
|
||||
free(uc->memory_map);
|
||||
free(uc->mapped_blocks);
|
||||
|
||||
// finally, free uc itself.
|
||||
memset(uc, 0, sizeof(*uc));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue