diff options
author | Ian Jackson <ian.jackson@eu.citrix.com> | 2012-01-13 16:54:27 +0000 |
---|---|---|
committer | Ian Jackson <ian.jackson@eu.citrix.com> | 2012-01-13 16:54:27 +0000 |
commit | a54239be9af2a50e9e849e3f7da8193256ad39bc (patch) | |
tree | 1edfe7fe7d7852306a1e0a1735853170ff537d50 /xen/arch/x86/irq.c | |
parent | 2fe29aed9d328641cdc50ffdb013193883bf2f0a (diff) | |
download | xen-a54239be9af2a50e9e849e3f7da8193256ad39bc.tar.gz xen-a54239be9af2a50e9e849e3f7da8193256ad39bc.tar.bz2 xen-a54239be9af2a50e9e849e3f7da8193256ad39bc.zip |
libxl: Fix leaks on context init failure
Several of the error exits from libxl_ctx_alloc leaked the context
struct itself and sometimes other resources too.
Fix this by using the standard "rc = ERROR_FOO; goto out" error
handling style throughout.
Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
Committed-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
Diffstat (limited to 'xen/arch/x86/irq.c')
0 files changed, 0 insertions, 0 deletions