blob: 14d4c1c9aed9f572a2aaa68829e7d6d35a3beab7 (
plain) (
blame)
1
2
3
4
5
6
7
|
allocate / free need use glibs's function.
Description of problem:
https://gitlab.com/qemu-project/qemu/-/blob/master/hw/core/machine.c?ref_type=heads#L982
use g_free to free config,because it is allocated by g_malloc0
on windows,if use crt's free && glib's(DLL) g_malloc0 ,will crash.
|