aboutsummaryrefslogtreecommitdiffstats
path: root/xen/arch/x86/irq.c
diff options
context:
space:
mode:
authorIan Jackson <ian.jackson@eu.citrix.com>2012-01-13 16:54:27 +0000
committerIan Jackson <ian.jackson@eu.citrix.com>2012-01-13 16:54:27 +0000
commita54239be9af2a50e9e849e3f7da8193256ad39bc (patch)
tree1edfe7fe7d7852306a1e0a1735853170ff537d50 /xen/arch/x86/irq.c
parent2fe29aed9d328641cdc50ffdb013193883bf2f0a (diff)
downloadxen-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