diff options
author | Takuya Yoshikawa <yoshikawa.takuya@oss.ntt.co.jp> | 2010-03-09 00:55:19 -0500 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2010-04-20 05:55:04 -0400 |
commit | b7af40433870aa0636932ad39b0c48a0cb319057 (patch) | |
tree | 8eedc46a94d00d986e3a50b716e14c76e1bacaea /lib/bcd.c | |
parent | 7567cae105e435b53e5a3e778546dd3ec53e3204 (diff) |
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 'lib/bcd.c')
0 files changed, 0 insertions, 0 deletions