[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-3.2-testing] x86, hvm: Fix memory leak.
# HG changeset patch # User Keir Fraser <keir.fraser@xxxxxxxxxx> # Date 1208335448 -3600 # Node ID 8b598e8662e2610de6d35e580ace0bc820e5052a # Parent 16cb1fbdc9c4dcd19dc5315ab2201d7d59b72ed9 x86, hvm: Fix memory leak. Signed-off-by: Keir Fraser <keir.fraser@xxxxxxxxxx> xen-unstable changeset: 17463:c3efeb3095ac8699d564cdbbe91ca214afe8e4d3 xen-unstable date: Wed Apr 16 09:32:45 2008 +0100 --- xen/arch/x86/hvm/hvm.c | 2 ++ 1 files changed, 2 insertions(+) diff -r 16cb1fbdc9c4 -r 8b598e8662e2 xen/arch/x86/hvm/hvm.c --- a/xen/arch/x86/hvm/hvm.c Tue Apr 15 16:09:12 2008 +0100 +++ b/xen/arch/x86/hvm/hvm.c Wed Apr 16 09:44:08 2008 +0100 @@ -502,6 +502,8 @@ int hvm_vcpu_initialise(struct vcpu *v) void hvm_vcpu_destroy(struct vcpu *v) { + xfree(v->arch.hvm_vcpu.mtrr.var_ranges); + vlapic_destroy(v); hvm_funcs.vcpu_destroy(v); _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |