[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH v1 2/5] libxl: add vsnd list and info
On Tue, Feb 6, 2018 at 4:43 PM, Wei Liu <wei.liu2@xxxxxxxxxx> wrote:
Yes, I agree that it is bit expensive to make realloc for each element. I will count num elements before. About using realloc instead of libxl_realloc in this place. it is autogenerated structure and it will be freed with appropriate API. Using libxl__realloc will cause double free issue. -- Best Regards,
Oleksandr Grytsov. _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |