aboutsummaryrefslogtreecommitdiffstats
path: root/tools/libxl/xl.c
diff options
context:
space:
mode:
authorIan Campbell <ian.campbell@citrix.com>2010-07-30 15:16:18 +0100
committerIan Campbell <ian.campbell@citrix.com>2010-07-30 15:16:18 +0100
commit20e0490fc1fd995bade8429d8b992eb3e131b411 (patch)
tree23207b0c62a4962e17a103378fe1bbd084f3354c /tools/libxl/xl.c
parent634026bb5740ee0c150fea0eea5371356fb0600e (diff)
downloadxen-20e0490fc1fd995bade8429d8b992eb3e131b411.tar.gz
xen-20e0490fc1fd995bade8429d8b992eb3e131b411.tar.bz2
xen-20e0490fc1fd995bade8429d8b992eb3e131b411.zip
xl: destroy the logger before exit
Signed-off-by: Ian Campbell <ian.campbell@citrix.com> Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>
Diffstat (limited to 'tools/libxl/xl.c')
-rw-r--r--tools/libxl/xl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/libxl/xl.c b/tools/libxl/xl.c
index 85dbca52fa..237f6e6b12 100644
--- a/tools/libxl/xl.c
+++ b/tools/libxl/xl.c
@@ -83,6 +83,7 @@ int main(int argc, char **argv)
}
libxl_ctx_free(&ctx);
+ xtl_logger_destroy((xentoollog_logger*)logger);
return ret;
}