ia64/xen-unstable

changeset 8526:25e3c8668f1f

Added missing munmap for live_p2m_frame_list_list.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
author emellor@leeni.uk.xensource.com
date Mon Jan 09 11:19:55 2006 +0000 (2006-01-09)
parents 2a0aded8fe60
children 8af1199488d3
files tools/libxc/xc_linux_save.c
line diff
     1.1 --- a/tools/libxc/xc_linux_save.c	Mon Jan 09 11:17:55 2006 +0000
     1.2 +++ b/tools/libxc/xc_linux_save.c	Mon Jan 09 11:19:55 2006 +0000
     1.3 @@ -1164,6 +1164,9 @@ int xc_linux_save(int xc_handle, int io_
     1.4      if (live_shinfo)
     1.5          munmap(live_shinfo, PAGE_SIZE);
     1.6      
     1.7 +    if (live_p2m_frame_list_list) 
     1.8 +        munmap(live_p2m_frame_list_list, PAGE_SIZE); 
     1.9 +
    1.10      if (live_p2m_frame_list) 
    1.11          munmap(live_p2m_frame_list, P2M_FLL_ENTRIES * PAGE_SIZE); 
    1.12