mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-12-18 21:48:36 -07:00
QEMU coding style uses the glib memory allocation APIs, not the raw libc malloc/free. Switch the allocation and free calls in elf2dmp to use these functions (dropping the now-unneeded checks for failure). Signed-off-by: Suraj Shirvankar <surajshirvankar@gmail.com> Message-id: 169753938460.23804.11418813007617535750-1@git.sr.ht [PMM: also remove NULL checks from g_malloc() calls; beef up commit message] Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Peter Maydell <peter.maydell@linaro.org> |
||
|---|---|---|
| .. | ||
| addrspace.c | ||
| addrspace.h | ||
| download.c | ||
| download.h | ||
| err.h | ||
| kdbg.h | ||
| main.c | ||
| meson.build | ||
| pdb.c | ||
| pdb.h | ||
| pe.h | ||
| qemu_elf.c | ||
| qemu_elf.h | ||