summary refs log tree commit diff stats
path: root/gitlab/issues_text/target_missing/host_missing/accel_missing/2430
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.