Taylor Simpson
authored
Don't allocate the string until error conditions have been checked Fixes: a00cfed0 ("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>
Name | Last commit | Last update |
---|---|---|
.. | ||
libvixl | ||
alpha.c | ||
arm-a64.cc | ||
arm.c | ||
capstone.c | ||
cris.c | ||
hexagon.c | ||
hppa.c | ||
i386.c | ||
m68k.c | ||
meson.build | ||
microblaze.c | ||
mips.c | ||
nanomips.cpp | ||
nanomips.h | ||
nios2.c | ||
ppc.c | ||
riscv.c | ||
s390.c | ||
sh4.c | ||
sparc.c | ||
xtensa.c |