diff options
author | Takuya Yoshikawa <yoshikawa.takuya@oss.ntt.co.jp> | 2010-03-09 14:55:19 +0900 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2010-04-20 12:55:04 +0300 |
commit | b7af40433870aa0636932ad39b0c48a0cb319057 (patch) | |
tree | 8eedc46a94d00d986e3a50b716e14c76e1bacaea /arch/x86/math-emu/reg_compare.c | |
parent | 7567cae105e435b53e5a3e778546dd3ec53e3204 (diff) | |
download | talos-op-linux-b7af40433870aa0636932ad39b0c48a0cb319057.tar.gz talos-op-linux-b7af40433870aa0636932ad39b0c48a0cb319057.zip |
KVM: SVM: Fix memory leaks that happen when svm_create_vcpu() fails
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>
Diffstat (limited to 'arch/x86/math-emu/reg_compare.c')
0 files changed, 0 insertions, 0 deletions