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

Re: [Xen-devel] [PATCH 13/22] tools/xenstore: get_handle: use "goto err" error handling style



On Fri, Sep 15, 2017 at 07:48:50PM +0100, Ian Jackson wrote:
> Replace the ad-hoc exit clauses with the error handling style where
>   - local variables contain either things to be freed, or sentinels
>   - all error exits go via an "err" label which frees everything
> 
> Signed-off-by: Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx>

Acked-by: Wei Liu <wei.liu2@xxxxxxxxxx>

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
https://lists.xen.org/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.