[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] x86, hvm: Fix memory leak.



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1208334765 -3600
# Node ID c3efeb3095ac8699d564cdbbe91ca214afe8e4d3
# Parent  e2d9fbede4ed3f8e5cb8dcc4ba4ad011e52a82fb
x86, hvm: Fix memory leak.
Signed-off-by: Keir Fraser <keir.fraser@xxxxxxxxxx>
---
 xen/arch/x86/hvm/hvm.c |    2 ++
 1 files changed, 2 insertions(+)

diff -r e2d9fbede4ed -r c3efeb3095ac xen/arch/x86/hvm/hvm.c
--- a/xen/arch/x86/hvm/hvm.c    Tue Apr 15 18:11:44 2008 +0100
+++ b/xen/arch/x86/hvm/hvm.c    Wed Apr 16 09:32:45 2008 +0100
@@ -681,6 +681,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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.