qemu-e2k/disas
Taylor Simpson a7686d5d85 Hexagon (disas/hexagon.c) fix memory leak for early exit cases
Don't allocate the string until error conditions have been checked

Fixes: a00cfed0e ("Hexagon (disas) disassembler")
Eliminate Coverity CID 1460121 (Resource leak)

Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Philippe Mathieu-Daud? <f4bug@amsat.org>
Signed-off-by: Taylor Simpson <tsimpson@quicinc.com>
2021-08-12 09:06:05 -05:00
..
libvixl disas/libvixl: Protect C system header for C++ compiler 2021-05-25 16:01:43 +01:00
alpha.c
arm-a64.cc include/disas/dis-asm.h: Handle being included outside 'extern "C"' 2021-05-10 17:21:54 +01:00
arm.c
capstone.c disas: Push const down through host disassembly 2021-01-07 05:09:42 -10:00
cris.c
hexagon.c Hexagon (disas/hexagon.c) fix memory leak for early exit cases 2021-08-12 09:06:05 -05:00
hppa.c disas/: fix some comment spelling errors 2020-09-17 20:40:08 +02:00
i386.c
m68k.c disas/: fix some comment spelling errors 2020-09-17 20:40:08 +02:00
meson.build Drop the deprecated lm32 target 2021-05-12 18:20:25 +02:00
microblaze.c
mips.c
nanomips.cpp include/disas/dis-asm.h: Handle being included outside 'extern "C"' 2021-05-10 17:21:54 +01:00
nanomips.h
nios2.c
ppc.c disas/: fix some comment spelling errors 2020-09-17 20:40:08 +02:00
riscv.c
s390.c
sh4.c disas/sh4: Add missing fallthrough annotations 2020-07-13 11:40:52 +02:00
sparc.c
xtensa.c