aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kvm/x86.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/kvm/x86.c')
-rw-r--r--arch/x86/kvm/x86.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c
index 007fadd62529..7fe83fe145f9 100644
--- a/arch/x86/kvm/x86.c
+++ b/arch/x86/kvm/x86.c
@@ -1592,8 +1592,7 @@ long kvm_arch_vcpu_ioctl(struct file *filp,
1592 r = -EINVAL; 1592 r = -EINVAL;
1593 } 1593 }
1594out: 1594out:
1595 if (lapic) 1595 kfree(lapic);
1596 kfree(lapic);
1597 return r; 1596 return r;
1598} 1597}
1599 1598