[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH] tools/libxc: Fix memory leaks in xc_domain_restore()



Andrew Cooper writes ("[PATCH] tools/libxc: Fix memory leaks in 
xc_domain_restore()"):
> tools/libxc: Fix memory leaks in xc_domain_restore()

> +    free(region_mfn);
...
> +    pagebuf_free(&pagebuf);

These look correct to me.

But as regards

> +    free(ctx->p2m_batch);

It's not clear to me where that's initialised.  It needs to be
initialised to NULL I think.

Ian.

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.