summary refs log tree commit diff stats
path: root/scripts/qapi/events.py
diff options
context:
space:
mode:
authorTaylor Simpson <tsimpson@quicinc.com>2021-08-12 06:53:09 -0500
committerTaylor Simpson <tsimpson@quicinc.com>2021-08-12 09:06:05 -0500
commita7686d5d8528469b596e98eff098a5d3f8328fb3 (patch)
treea952a1f957ebdf4a84416e52a89f16a4e2bf0d5a /scripts/qapi/events.py
parent703e8cd6189cf699c8d5c094bc68b5f3afa6ad71 (diff)
downloadfocaccia-qemu-a7686d5d8528469b596e98eff098a5d3f8328fb3.tar.gz
focaccia-qemu-a7686d5d8528469b596e98eff098a5d3f8328fb3.zip
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 'scripts/qapi/events.py')
0 files changed, 0 insertions, 0 deletions