Chun Yan Liu writes ("Re: [PATCH 2/2] libxl: Do not leak data on error path from libxl__read_sysfs_file_contents"): > <1459782600-16073-2-git-send-email-ian.jack...@eu.citrix.com>, Ian Jackson > <ian.jack...@eu.citrix.com> wrote: > > + free(data); > > 'data' is malloced with 'gc', it'll be freed by GC_FREE. Do we need to free > it here?
Oh, you are quite right. My patch was wrong. Thanks, Ian. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel