aboutsummaryrefslogtreecommitdiff
path: root/hw/arm/virt.c
diff options
context:
space:
mode:
authorSuraj Shirvankar <surajshirvankar@gmail.com>2023-10-03 14:45:14 +0200
committerPeter Maydell <peter.maydell@linaro.org>2023-10-19 14:32:13 +0100
commit2a052b4ee01b3c413cef2ef49cb780cde17d4ba1 (patch)
treeca659b30aacebc24516ffc9dcc9f38f3130ae4c5 /hw/arm/virt.c
parent9ef2629712680e70cbf39d8b6cb1ec0e0e2e72fa (diff)
downloadqemu-2a052b4ee01b3c413cef2ef49cb780cde17d4ba1.zip
qemu-2a052b4ee01b3c413cef2ef49cb780cde17d4ba1.tar.gz
qemu-2a052b4ee01b3c413cef2ef49cb780cde17d4ba1.tar.bz2
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>
Diffstat (limited to 'hw/arm/virt.c')
0 files changed, 0 insertions, 0 deletions