mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 02:01:24 +01:00
libxl: libxl_ctx_free should free the ctx
Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com> Acked-by: Ian Campbell <ian.campbell@citrix.com> Committed-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
This commit is contained in:
1 parent
c9d610abf5
commit
f6678b0499
1 file changed
+1
@@ -93,6 +93,7 @@ int libxl_ctx_free(libxl_ctx *ctx)
|
||||
if (ctx->xch) xc_interface_close(ctx->xch);
|
||||
libxl_version_info_dispose(&ctx->version_info);
|
||||
if (ctx->xsh) xs_daemon_close(ctx->xsh);
|
||||
free(ctx);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||