ia64/xen-unstable

changeset 5313:4e868aa7cad7

bitkeeper revision 1.1665.3.1 (42a0cec19GKZHbCwpHO5h-vYt_an-w)

[PATCH] missing put_domain in DOM0_IOPORT_PERMISSION

There appears to be a missing put_domain() in the failure case. The code
doesn't seem to be used by anyone, but anyway...

Signed-off-by: John Levon <levon@movementarian.org>
Signed-off-by: ian@xensource.com
author iap10@freefall.cl.cam.ac.uk
date Fri Jun 03 21:42:25 2005 +0000 (2005-06-03)
parents 226484ec5fb0
children fdf28002f13a
files xen/arch/x86/dom0_ops.c
line diff
     1.1 --- a/xen/arch/x86/dom0_ops.c	Fri Jun 03 18:06:52 2005 +0000
     1.2 +++ b/xen/arch/x86/dom0_ops.c	Fri Jun 03 21:42:25 2005 +0000
     1.3 @@ -155,7 +155,10 @@ long arch_do_dom0_op(dom0_op_t *op, dom0
     1.4          {
     1.5              if ( (d->arch.iobmp_mask = xmalloc_array(
     1.6                  u8, IOBMP_BYTES)) == NULL )
     1.7 +            {
     1.8 +                put_domain(d);
     1.9                  break;
    1.10 +            }
    1.11              memset(d->arch.iobmp_mask, 0xFF, IOBMP_BYTES);
    1.12          }
    1.13