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

[Xen-changelog] Added missing munmap for live_p2m_frame_list_list.



# HG changeset patch
# User emellor@xxxxxxxxxxxxxxxxxxxxxx
# Node ID 25e3c8668f1f4769db8466b4af965a99503311ae
# Parent  2a0aded8fe601d8db480719e5479bb21bbc2c5bf
Added missing munmap for live_p2m_frame_list_list.

Signed-off-by: Ewan Mellor <ewan@xxxxxxxxxxxxx>

diff -r 2a0aded8fe60 -r 25e3c8668f1f tools/libxc/xc_linux_save.c
--- a/tools/libxc/xc_linux_save.c       Mon Jan  9 11:17:55 2006
+++ b/tools/libxc/xc_linux_save.c       Mon Jan  9 11:19:55 2006
@@ -1164,6 +1164,9 @@
     if (live_shinfo)
         munmap(live_shinfo, PAGE_SIZE);
     
+    if (live_p2m_frame_list_list) 
+        munmap(live_p2m_frame_list_list, PAGE_SIZE); 
+
     if (live_p2m_frame_list) 
         munmap(live_p2m_frame_list, P2M_FLL_ENTRIES * PAGE_SIZE); 
 

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