Skip to content
Snippets Groups Projects
Commit 4625742c authored by Akihiko Odaki's avatar Akihiko Odaki Committed by Peter Maydell
Browse files

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: default avatarAkihiko Odaki <akihiko.odaki@daynix.com>
Message-id: 20230727073134.134102-6-akihiko.odaki@daynix.com
Reviewed-by: default avatarPeter Maydell <peter.maydell@linaro.org>
[PMM: tweaked commit message]
Signed-off-by: default avatarPeter Maydell <peter.maydell@linaro.org>
parent bc3e41a0
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment