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

Re: [Xen-devel] [PATCH V5 27/32] libxl: libxl-json format and load/store configuration functions



On Mon, Jun 02, 2014 at 05:19:46PM +0100, Ian Campbell wrote:
[...]
> 
> But then you call libxl__realloc(gc,...). Won't that add the new pointer
> to the gc (and fail to remove the old one from it because it wasn't
> there)? Then you free it with free() and then GC_FREE will double free
> it.
> 

Oh, yes, you're right. I will fix this -- if this hunk is kept in my
future version. Thanks.

Wei.

> 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®.