qemu-e2k/contrib/elf2dmp
lu zhipeng 4bb5923605 elf2dmp: free memory in failure
The 'kdgb' is allocating memory in get_kdbg(), but it is not freed in
error path. So fix that.

Signed-off-by: lu zhipeng <luzhipeng@cestc.cn>
Reviewed-by: Viktor Prutyanov <viktor.prutyanov@phystech.edu>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-Id: <20221007020128.760-1-luzhipeng@cestc.cn>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
2022-10-22 23:10:03 +02:00
..
addrspace.c elf2dmp: Rename PAGE_SIZE to ELF2DMP_PAGE_SIZE 2021-01-20 10:46:54 +01:00
addrspace.h elf2dmp: Rename PAGE_SIZE to ELF2DMP_PAGE_SIZE 2021-01-20 10:46:54 +01:00
download.c elf2dmp: Check curl_easy_setopt() return value 2021-09-20 09:54:32 +01:00
download.h contrib: add elf2dmp tool 2018-10-02 19:09:12 +02:00
err.h contrib: add elf2dmp tool 2018-10-02 19:09:12 +02:00
kdbg.h contrib/elf2dmp: fix structures definitions 2019-02-05 16:50:17 +01:00
main.c elf2dmp: free memory in failure 2022-10-22 23:10:03 +02:00
meson.build meson: build contrib/ executables after generated headers 2022-01-12 14:09:06 +01:00
pdb.c elf2dmp: Fail cleanly if PDB file specifies zero block_size 2021-09-20 09:54:32 +01:00
pdb.h contrib/elf2dmp: fix structures definitions 2019-02-05 16:50:17 +01:00
pe.h contrib/elf2dmp: fix structures definitions 2019-02-05 16:50:17 +01:00
qemu_elf.c contrib/elf2dmp: add ELF dump header checking 2022-05-25 21:26:35 +02:00
qemu_elf.h Clean up a few header guard symbols 2019-06-12 13:20:20 +02:00