Skip to content
Snippets Groups Projects
user avatar
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: default avatarPeter Maydell <peter.maydell@linaro.org>
Reviewed-by: default avatarPhilippe Mathieu-Daud? <f4bug@amsat.org>
Signed-off-by: default avatarTaylor Simpson <tsimpson@quicinc.com>
a7686d5d
History