Files
xen/tools
Ian Jackson 274ef72d25 libxl: Fix error handling in libxl__device_nic_from_xs_be
Previously, this function would leak the temporary return from xs_read for
handle and mac address.  Fix both of these and the rest of the error handling.

This requires changing its return type and fixing the callers.

Introduce here a READ_BACKEND macro to make the code less repetitive.

Coverity ID: 1055886

Signed-off-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
[ ijc -- spell out what the leaks were in the commit message ]
2013-12-18 11:09:58 +00:00
..
2013-08-20 15:34:03 +01:00
2013-09-03 17:00:31 +01:00
2013-11-26 10:48:55 +00:00
2013-08-27 14:49:19 +01:00
2013-12-12 17:29:41 +00:00
2013-05-08 12:14:32 +01:00
2013-05-21 10:16:30 +02:00