unicorn/qemu/hw/core
Marc-André Lureau aee9f7327f
machine: use class base init generated name
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
2018-03-11 16:54:40 -04:00
..
machine.c machine: use class base init generated name 2018-03-11 16:54:40 -04:00
Makefile.objs
qdev.c machine: Set MachineClass::name automatically 2018-03-11 14:38:58 -04:00