mirror of
https://github.com/yuzu-emu/unicorn
synced 2024-11-25 02:28:31 +00:00
aee9f7327f
machine_class_base_init() member name is allocated by machine_class_base_init(), but not freed by machine_class_finalize(). Simply freeing there doesn't work, because DEFINE_PC_MACHINE() overwrites it with a literal string. Fix DEFINE_PC_MACHINE() not to overwrite it, and add the missing free to machine_class_finalize(). Backports commit 8ea753718b2d1a42e9ce7b8db9f5e4e1f330e827 from qemu |
||
---|---|---|
.. | ||
machine.c | ||
Makefile.objs | ||
qdev.c |