summary refs log tree commit diff stats
path: root/python/qemu/utils/qemu_ga_client.py
diff options
context:
space:
mode:
authorAkihiko Odaki <akihiko.odaki@daynix.com>2023-08-22 17:31:04 +0100
committerPeter Maydell <peter.maydell@linaro.org>2023-08-22 17:31:04 +0100
commit4625742cd2aeb1400407889a2f7a5b4c75437818 (patch)
tree982314f79967682604f0673e8408654c9f43439f /python/qemu/utils/qemu_ga_client.py
parentbc3e41a0e8a3c932733dd363dfcfb38bf167b707 (diff)
downloadfocaccia-qemu-4625742cd2aeb1400407889a2f7a5b4c75437818.tar.gz
focaccia-qemu-4625742cd2aeb1400407889a2f7a5b4c75437818.zip
accel/kvm: Free as when an error occurred
An error may occur after s->as is allocated, for example if the
KVM_CREATE_VM ioctl call fails.

Signed-off-by: Akihiko Odaki <akihiko.odaki@daynix.com>
Message-id: 20230727073134.134102-6-akihiko.odaki@daynix.com
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
[PMM: tweaked commit message]
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'python/qemu/utils/qemu_ga_client.py')
0 files changed, 0 insertions, 0 deletions