mirror of
https://github.com/yuzu-emu/unicorn.git
synced 2025-01-03 14:15:46 +00:00
memleak: Add back object release for uc->cpu
This commit is contained in:
parent
b7ad7f180c
commit
6aea0aee58
1
uc.c
1
uc.c
|
@ -305,6 +305,7 @@ uc_err uc_close(uc_engine *uc)
|
|||
|
||||
object_unref(uc, OBJECT(uc->machine_state->accelerator));
|
||||
object_unref(uc, OBJECT(uc->machine_state));
|
||||
object_unref(uc, OBJECT(uc->cpu));
|
||||
object_unref(uc, OBJECT(&uc->io_mem_notdirty));
|
||||
object_unref(uc, OBJECT(&uc->io_mem_unassigned));
|
||||
object_unref(uc, OBJECT(&uc->io_mem_rom));
|
||||
|
|
Loading…
Reference in a new issue