diff options
author | Takuya Yoshikawa <yoshikawa.takuya@oss.ntt.co.jp> | 2010-03-09 14:55:19 +0900 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-04-26 07:48:04 -0700 |
commit | dee49b4925d922229656f4d3c15da33ae5d036ed (patch) | |
tree | c4e1d1d5fe2861499e8a22c0c8fd690af720a5f8 /fs/cifs/cifs_spnego.c | |
parent | 68f35500d733ed5cc3153c09f685e0abcfce4956 (diff) | |
download | kernel-crypto-dee49b4925d922229656f4d3c15da33ae5d036ed.tar.gz kernel-crypto-dee49b4925d922229656f4d3c15da33ae5d036ed.tar.xz kernel-crypto-dee49b4925d922229656f4d3c15da33ae5d036ed.zip |
KVM: SVM: Fix memory leaks that happen when svm_create_vcpu() fails
(Cherry-picked from commit b7af40433870aa0636932ad39b0c48a0cb319057)
svm_create_vcpu() does not free the pages allocated during the creation
when it fails to complete the allocations. This patch fixes it.
Signed-off-by: Takuya Yoshikawa <yoshikawa.takuya@oss.ntt.co.jp>
Signed-off-by: Avi Kivity <avi@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'fs/cifs/cifs_spnego.c')
0 files changed, 0 insertions, 0 deletions