id = 2430 title = "allocate / free need use glibs's function." state = "closed" created_at = "2024-07-08T08:35:10.169Z" closed_at = "2024-07-08T15:43:39.381Z" labels = ["Bite Sized"] url = "https://gitlab.com/qemu-project/qemu/-/issues/2430" host-os = "n/a" host-arch = "n/a" qemu-version = "n/a" guest-os = "n/a" guest-arch = "n/a" description = """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.""" reproduce = "n/a" additional = "n/a"