qemu/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
addrspace.h
download.c
download.h
err.h
kdbg.h
main.c elf2dmp: free memory in failure 2022-10-22 23:10:03 +02:00
meson.build
pdb.c
pdb.h
pe.h
qemu_elf.c
qemu_elf.h