mirror of
https://github.com/torvalds/linux.git
synced 2026-11-24 15:33:28 +00:00
The vm_param and cpu_regs need to be freed via kfree() before return -EINVAL error. Fixes:9c5137aedd("virt: acrn: Introduce VM management interfaces") Fixes:2ad2aaee1b("virt: acrn: Introduce an ioctl to set vCPU registers state") Signed-off-by: Xiaolong Huang <[email protected]> Signed-off-by: Fei Li <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>