projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
437f996
)
KVM: arm/arm64: Fix memory leak if timer initialization fails
author
Pavel Fedin
<p.fedin@samsung.com>
Tue, 6 Oct 2015 08:14:35 +0000
(11:14 +0300)
committer
Christoffer Dall
<christoffer.dall@linaro.org>
Tue, 20 Oct 2015 16:04:48 +0000
(18:04 +0200)
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
patch
|
blob
|
blame
|
history
diff --git
a/arch/arm/kvm/arm.c
b/arch/arm/kvm/arm.c
index dc017adfddc8b83698fa8486e2b9b6dbc1e189a0..78b286994577183b8d9ef415ae3ba5f6a41113c4 100644
(file)
--- a/
arch/arm/kvm/arm.c
+++ b/
arch/arm/kvm/arm.c
@@
-1080,7
+1080,7
@@
static int init_hyp_mode(void)
*/
err = kvm_timer_hyp_init();
if (err)
- goto out_free_
mappings
;
+ goto out_free_
context
;
#ifndef CONFIG_HOTPLUG_CPU
free_boot_hyp_pgd();