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

[Xen-changelog] [xen-unstable] Fix potential minor memory leak.



# HG changeset patch
# User Steven Hand <steven@xxxxxxxxxxxxx>
# Node ID d3846d6f30d5122b8ac379713dde39b0310fa4d7
# Parent  212511a8f202e7fda1b2e6a5c97b50f5fede8ad0
Fix potential minor memory leak.

Signed-off-by: Steven Hand <steven@xxxxxxxxxxxxx>
---
 xen/arch/x86/mm/shadow/multi.c |    1 +
 1 files changed, 1 insertion(+)

diff -r 212511a8f202 -r d3846d6f30d5 xen/arch/x86/mm/shadow/multi.c
--- a/xen/arch/x86/mm/shadow/multi.c    Fri Dec 08 10:32:48 2006 +0000
+++ b/xen/arch/x86/mm/shadow/multi.c    Fri Dec 08 10:48:46 2006 +0000
@@ -2762,6 +2762,7 @@ static int sh_page_fault(struct vcpu *v,
          * shadow_set_l*e(), which will have crashed the guest.  
          * Get out of the fault handler immediately. */
         ASSERT(test_bit(_DOMF_dying, &d->domain_flags));
+        unmap_walk(v, &gw); 
         shadow_unlock(d);
         return 0;
     }

_______________________________________________
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®.