aboutsummaryrefslogtreecommitdiffstats
path: root/tools/libxc
diff options
context:
space:
mode:
Diffstat (limited to 'tools/libxc')
-rw-r--r--tools/libxc/xc_domain_restore.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/libxc/xc_domain_restore.c b/tools/libxc/xc_domain_restore.c
index f53ff88237..63d36cd63f 100644
--- a/tools/libxc/xc_domain_restore.c
+++ b/tools/libxc/xc_domain_restore.c
@@ -2335,6 +2335,9 @@ int xc_domain_restore(xc_interface *xch, int io_fd, uint32_t dom,
free(mmu);
free(ctx->p2m);
free(pfn_type);
+ free(region_mfn);
+ free(ctx->p2m_batch);
+ pagebuf_free(&pagebuf);
tailbuf_free(&tailbuf);
/* discard cache for save file */