KVM: Fix xsave and xcr save/restore memory leak
authorAvi Kivity <avi@redhat.com>
Sun, 20 Jun 2010 12:47:34 +0000 (15:47 +0300)
committerAvi Kivity <avi@redhat.com>
Sun, 1 Aug 2010 07:46:56 +0000 (10:46 +0300)
commita1a005f36e0defea7c5490772c318c6af2261d31
tree1baf6a17e173b26948d03008249c0b1ce001c7d4
parent7d5993d63f2bac75b89e171a7098044ec4bc701f
KVM: Fix xsave and xcr save/restore memory leak

We allocate temporary kernel buffers for these structures, but never free them.

Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/kvm/x86.c