]> git.ipfire.org Git - thirdparty/qemu.git/commit
contrib/elf2dmp: Always destroy PA space
authorAkihiko Odaki <akihiko.odaki@daynix.com>
Thu, 7 Mar 2024 10:20:54 +0000 (19:20 +0900)
committerPeter Maydell <peter.maydell@linaro.org>
Mon, 11 Mar 2024 17:06:06 +0000 (17:06 +0000)
commit2aa205f7c6339cb46d26473a0434a292fc3d32cf
treee9c892a8cebb8da0076826f71adc3bded9b5c6e9
parenta6a62ef5751371a82a9fb3ce67190d38a7f465fb
contrib/elf2dmp: Always destroy PA space

Destroy PA space even if paging base couldn't be found, fixing memory
leak.

Signed-off-by: Akihiko Odaki <akihiko.odaki@daynix.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Tested-by: Viktor Prutyanov <viktor.prutyanov@phystech.edu>
Message-id: 20240307-elf2dmp-v4-11-4f324ad4d99d@daynix.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
contrib/elf2dmp/main.c