commit | 443c39bc9ef7d8f648408d74c97e943f3bb3f48a | [log] [tgz] |
---|---|---|
author | Wei Yongjun <yjwei@cn.fujitsu.com> | Fri Jan 22 14:21:29 2010 +0800 |
committer | Marcelo Tosatti <mtosatti@redhat.com> | Mon Jan 25 12:26:40 2010 -0200 |
tree | ea4b29635cd1caee726c1c1c950ac0b10804d6ce | |
parent | 36cb93fd6b6bf7e9163a69a8bf20207aed5fea44 [diff] |
KVM: x86: Fix leak of free lapic date in kvm_arch_vcpu_init() In function kvm_arch_vcpu_init(), if the memory malloc for vcpu->arch.mce_banks is fail, it does not free the memory of lapic date. This patch fixed it. Cc: stable@kernel.org Signed-off-by: Wei Yongjun <yjwei@cn.fujitsu.com> Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>