KVM: arm/arm64: Fix memory leak if timer initialization fails
authorPavel Fedin <p.fedin@samsung.com>
Tue, 6 Oct 2015 08:14:35 +0000 (11:14 +0300)
committerChristoffer Dall <christoffer.dall@linaro.org>
Tue, 20 Oct 2015 16:04:48 +0000 (18:04 +0200)
commit399ea0f6bcd318af94ec8e4ffe96703ed674f22e
tree070990cf14677881d7c6573f53280f985774ac26
parent437f9963bc4fd75889c1fe9289a92dea9124a439
KVM: arm/arm64: Fix memory leak if timer initialization fails

Jump to correct label and free kvm_host_cpu_state

Reviewed-by: Wei Huang <wei@redhat.com>
Signed-off-by: Pavel Fedin <p.fedin@samsung.com>
Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
arch/arm/kvm/arm.c