mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 18:50:05 +01:00
libxc: colo: don't leak pfns and iov in send_checkpoint_dirty_pfn_list
Signed-off-by: Wei Liu <wei.liu2@citrix.com> Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
This commit is contained in:
1 parent
dee88aa2e0
commit
941cccfb5c
1 file changed
+2
@@ -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;
|
||||
}
|
||||
|
||||
|
||||