ia64/xen-unstable

changeset 12870:d3846d6f30d5

Fix potential minor memory leak.

Signed-off-by: Steven Hand <steven@xensource.com>
author Steven Hand <steven@xensource.com>
date Fri Dec 08 10:48:46 2006 +0000 (2006-12-08)
parents 212511a8f202
children 8beecb8c5ae2
files xen/arch/x86/mm/shadow/multi.c
line diff
     1.1 --- a/xen/arch/x86/mm/shadow/multi.c	Fri Dec 08 10:32:48 2006 +0000
     1.2 +++ b/xen/arch/x86/mm/shadow/multi.c	Fri Dec 08 10:48:46 2006 +0000
     1.3 @@ -2762,6 +2762,7 @@ static int sh_page_fault(struct vcpu *v,
     1.4           * shadow_set_l*e(), which will have crashed the guest.  
     1.5           * Get out of the fault handler immediately. */
     1.6          ASSERT(test_bit(_DOMF_dying, &d->domain_flags));
     1.7 +        unmap_walk(v, &gw); 
     1.8          shadow_unlock(d);
     1.9          return 0;
    1.10      }