[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen master] tools/libxc: Fix memory leaks in xc_domain_restore()
commit 6809b4859f186d74a0eed31fba1d90c7f32e1a69 Author: Andrew Cooper <andrew.cooper3@xxxxxxxxxx> AuthorDate: Fri Jun 21 17:36:26 2013 +0100 Commit: Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx> CommitDate: Mon Jun 24 14:11:01 2013 +0100 tools/libxc: Fix memory leaks in xc_domain_restore() Signed-off-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx> Acked-by: George Dunlap <george.dunlap@xxxxxxxxxxxxx> (re 4.3 release) Acked-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx> --- tools/libxc/xc_domain_restore.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/tools/libxc/xc_domain_restore.c b/tools/libxc/xc_domain_restore.c index f53ff88..63d36cd 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 */ -- generated by git-patchbot for /home/xen/git/xen.git#master _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |