]> xenbits.xensource.com Git - xen.git/commit
xl: free libxl context, logger and lockfile using atexit handler
authorIan Campbell <ian.campbell@citrix.com>
Mon, 17 Sep 2012 10:16:59 +0000 (11:16 +0100)
committerIan Campbell <ian.campbell@citrix.com>
Mon, 17 Sep 2012 10:16:59 +0000 (11:16 +0100)
commit5e61076e8f6e48856dacbd65499d6cb69d31976b
tree45d112091dee37ee15f44a307590762f3bb98e1a
parentae165a06593ad65c305889e3aaa0fefa6b8ed0b1
xl: free libxl context, logger and lockfile using atexit handler

xl frequently just calls exit(3), especially on error. Try to clean
up some of our global state to make tools like valgrind more useful.

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
Committed-by: Ian Campbell <ian.campbell@citrix.com>
tools/libxl/xl.c