Signed-off-by: Wei Liu <wei.l...@citrix.com> --- tools/libxc/xc_sr_restore.c | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/tools/libxc/xc_sr_restore.c b/tools/libxc/xc_sr_restore.c index 728edbc..3549f0a 100644 --- a/tools/libxc/xc_sr_restore.c +++ b/tools/libxc/xc_sr_restore.c @@ -494,6 +494,8 @@ static int send_checkpoint_dirty_pfn_list(struct xc_sr_context *ctx) rc = 0; err: + free(pfns); + free(iov); return rc; } -- 2.1.4 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel