git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
062d5e9
)
KVM: x86: Fix probable memory leak of vcpu->arch.mce_banks
author
Wei Yongjun
<yjwei@cn.fujitsu.com>
Fri, 22 Jan 2010 06:18:47 +0000
(14:18 +0800)
committer
Marcelo Tosatti
<mtosatti@redhat.com>
Mon, 25 Jan 2010 14:26:40 +0000
(12:26 -0200)
vcpu->arch.mce_banks is malloc in kvm_arch_vcpu_init(), but
never free in any place, this may cause memory leak. So this
patch fixed to free it in kvm_arch_vcpu_uninit().
Cc: stable@kernel.org
Signed-off-by: Wei Yongjun <yjwei@cn.fujitsu.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
No differences found