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

Re: [Xen-devel] [PATCH 20/22] libxc: check return values from malloc



Andrew Cooper writes ("Re: [PATCH 20/22] libxc: check return values from 
malloc"):
> On 07/06/13 19:27, Ian Jackson wrote:
> > @@ -137,8 +140,10 @@ void *xc_dom_malloc_page_aligned(struct xc_dom_image 
> > *dom, size_t size)
> >      struct xc_dom_mem *block;
> >  
> >      block = malloc(sizeof(*block));
> > -    if ( block == NULL )
> > +    if ( block == NULL ) {
> 
> Only a small nit - Mix of coding styles.  Xen coding style would mean
> this brace should be on a new line.

Yes.

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