diff options
author | lu zhipeng <luzhipeng@cestc.cn> | 2022-10-07 10:01:28 +0800 |
---|---|---|
committer | Laurent Vivier <laurent@vivier.eu> | 2022-10-22 23:10:03 +0200 |
commit | 4bb5923605b2b8994f933df23aa948efe7ba545c (patch) | |
tree | dc7729918238039e89936b809b8137ab29d3da36 /hw/char | |
parent | 2d7279984fdf735fb80f32e5a09f777e4188c57e (diff) | |
download | qemu-4bb5923605b2b8994f933df23aa948efe7ba545c.zip qemu-4bb5923605b2b8994f933df23aa948efe7ba545c.tar.gz qemu-4bb5923605b2b8994f933df23aa948efe7ba545c.tar.bz2 |
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>
Diffstat (limited to 'hw/char')
0 files changed, 0 insertions, 0 deletions