|   | 
      | 
  
  
      | 
      | 
  
 
     | 
    | 
  
  
     | 
    | 
  
  
    |   | 
      | 
  
  
    | 
         
xen-devel
[Xen-devel] [PATCH 01/17] xenpaging: close xch handle in	xenpaging_init 
 
Just for correctness, close the xch handle in the error path.
Signed-off-by: Olaf Hering <olaf@xxxxxxxxx>
---
 tools/xenpaging/xenpaging.c |    1 +
 1 file changed, 1 insertion(+)
--- xen-unstable.hg-4.1.22459.orig/tools/xenpaging/xenpaging.c
+++ xen-unstable.hg-4.1.22459/tools/xenpaging/xenpaging.c
@@ -224,6 +224,7 @@ xenpaging_t *xenpaging_init(xc_interface
  err:
     if ( paging )
     {
+        xc_interface_close(xch);
         if ( paging->mem_event.shared_page )
         {
             munlock(paging->mem_event.shared_page, PAGE_SIZE);
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
 |   
 
| <Prev in Thread] | 
Current Thread | 
[Next in Thread>
 |  
- [Xen-devel] [PATCH 00/17] xenpaging changes for xen-unstable, Olaf Hering
- [Xen-devel] [PATCH 04/17] xenpaging: print number of evicted pages, Olaf Hering
 
- [Xen-devel] [PATCH 09/17] xenpaging: update	machine_to_phys_mapping[] during page deallocation, Olaf Hering
 
- [Xen-devel] [PATCH 01/17] xenpaging: close xch handle in	xenpaging_init error path,
Olaf Hering <=
 
- [Xen-devel] [PATCH 02/17] xenpaging: remove perror usage in	xenpaging_init error path, Olaf Hering
 
- [Xen-devel] [PATCH 03/17] xenpaging: print DPRINTF ouput if	XENPAGING_DEBUG is in environment, Olaf Hering
 
- [Xen-devel] [PATCH 06/17] xenpaging: do not use DPRINTF/ERROR if	xch handle is unavailable, Olaf Hering
 
- [Xen-devel] [PATCH 14/17] xenpaging: prevent page-out of first 16MB, Olaf Hering
 
- [Xen-devel] [PATCH 08/17] xenpaging: make vcpu_sleep_nosync()	optional in mem_event_check_ring(), Olaf Hering
 
- [Xen-devel] [PATCH 10/17] xenpaging: update	machine_to_phys_mapping[] during page-in, Olaf Hering
 
- [Xen-devel] [PATCH 07/17] xenpaging: update xch usage, Olaf Hering
 
 
 
 
 |  
  
 | 
    | 
  
  
    |   | 
    |