diff options
author | Taylor Simpson <tsimpson@quicinc.com> | 2021-08-12 06:53:09 -0500 |
---|---|---|
committer | Taylor Simpson <tsimpson@quicinc.com> | 2021-08-12 09:06:05 -0500 |
commit | a7686d5d8528469b596e98eff098a5d3f8328fb3 (patch) | |
tree | a952a1f957ebdf4a84416e52a89f16a4e2bf0d5a /roms/config.seabios-microvm | |
parent | 703e8cd6189cf699c8d5c094bc68b5f3afa6ad71 (diff) |
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>
Diffstat (limited to 'roms/config.seabios-microvm')
0 files changed, 0 insertions, 0 deletions