[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH] tools/libxl: cleanup one libxl__calloc() usage
On Tue, 2015-03-10 at 09:21 +0000, Wei Liu wrote: > On Tue, Mar 10, 2015 at 02:28:16PM +0800, Tiejun Chen wrote: > > Its pointless because internally, libxl__calloc() would always > > terminate program execution if failed, > > > > libxl__calloc() > > | > > + void *ptr = calloc(nmemb, size); > > + if (!ptr) libxl__alloc_failed(CTX, __func__, nmemb, size); > > | > > + _exit(-1); > > > > Signed-off-by: Tiejun Chen <tiejun.chen@xxxxxxxxx> > > Acked-by: Wei Liu <wei.liu2@xxxxxxxxxx> Likewise + applied, thanks. _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |