qemu/contrib
Suraj Shirvankar 2a052b4ee0 contrib/elf2dmp: Use g_malloc(), g_new() and g_free()
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>
2023-10-19 14:32:13 +01:00
..
elf2dmp contrib/elf2dmp: Use g_malloc(), g_new() and g_free() 2023-10-19 14:32:13 +01:00
gitdm
ivshmem-client
ivshmem-server cutils: Adjust signature of parse_uint[_full] 2023-06-02 12:27:19 -05:00
plugins contrib/plugins: fix coverity warning in hotblocks 2023-10-11 08:46:39 +01:00
rdmacm-mux
systemd
vhost-user-blk vhost-user: fully use new backend/frontend naming 2023-06-26 09:50:00 -04:00
vhost-user-gpu contrib/vhost-user-gpu: Fix compiler warning when compiling with -Wshadow 2023-10-12 16:37:16 +02:00
vhost-user-input
vhost-user-scsi