Based on this issue https://gitlab.com/qemu-project/qemu/-/issues/1798 g_new is used where I think it is applicable and a struct is well defined.
Suraj Shirvankar (1): Switch memory management calls to new coding conventions contrib/elf2dmp/addrspace.c | 4 ++-- contrib/elf2dmp/main.c | 4 ++-- contrib/elf2dmp/pdb.c | 4 ++-- contrib/elf2dmp/qemu_elf.c | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) -- 2.38.5