WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

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

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-3.2-testing] x86, hvm: Fix memory leak.
From: "Xen patchbot-3.2-testing" <patchbot-3.2-testing@xxxxxxxxxxxxxxxxxxx>
Date: Tue, 22 Apr 2008 07:11:25 -0700
Delivery-date: Tue, 22 Apr 2008 07:36:43 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# 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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-3.2-testing] x86, hvm: Fix memory leak., Xen patchbot-3.2-testing <=