]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1e96bcf19d6f236374b52d6148f696f97e73b265
tree070990cf14677881d7c6573f53280f985774ac26
parent3ee7b5e32dc408ed417d96c4b98a5eb34b37215c
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