qemu/contrib/elf2dmp
AlexChen 885538fdc9 elf2dmp: Fix memory leak on main() error paths
The 'kdgb' is allocating memory in get_kdbg(), but it is not freed
in both fill_header() and fill_context() failed branches, fix it.

Signed-off-by: AlexChen <alex.chen@huawei.com>
Reviewed-by: Li Qiang <liq3ea@gmail.com>
Reviewed-by: Viktor Prutyanov <viktor.prutyanov@phystech.edu>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Message-Id: <5F463659.8080101@huawei.com>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
2020-10-27 16:48:40 +01:00
..
addrspace.c
addrspace.h
download.c
download.h
err.h
kdbg.h contrib/elf2dmp: fix structures definitions 2019-02-05 16:50:17 +01:00
main.c elf2dmp: Fix memory leak on main() error paths 2020-10-27 16:48:40 +01:00
meson.build contrib/elf2dmp: convert to meson 2020-08-21 06:30:11 -04:00
pdb.c Clean up includes 2019-05-13 08:58:55 +02: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: use GLib in ELF processing 2019-02-05 16:50:17 +01:00
qemu_elf.h Clean up a few header guard symbols 2019-06-12 13:20:20 +02:00