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
err.h
kdbg.h
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
pe.h
qemu_elf.c contrib/elf2dmp: add ELF dump header checking 2022-05-25 21:26:35 +02:00
qemu_elf.h