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 contrib/gitdm: add group map for AMD 2023-03-22 15:08:26 +00:00
ivshmem-client meson: build contrib/ executables after generated headers 2022-01-12 14:09:06 +01:00
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 meson, configure: move RDMA options to meson 2022-04-28 08:52:20 +02:00
systemd contrib: add systemd unit files 2017-12-20 22:29:26 +01:00
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 Fix build with 64 bits time_t 2021-05-14 10:26:18 -04:00
vhost-user-scsi vhost-user-scsi: avoid unlink(NULL) with fd passing 2022-05-16 16:48:35 -04:00