|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] [PATCH] pass-through: drop lock before calling xfree() on er
Signed-off-by: Jan Beulich <jbeulich@xxxxxxxxxx>
--- 2009-01-27.orig/xen/drivers/passthrough/io.c 2009-01-21
15:16:31.000000000 +0100
+++ 2009-01-27/xen/drivers/passthrough/io.c 2009-01-30 08:59:27.000000000
+0100
@@ -87,8 +87,8 @@ int pt_irq_create_bind_vtd(
if ( domain_set_irq_dpci(d, hvm_irq_dpci) == 0 )
{
- xfree(hvm_irq_dpci);
spin_unlock(&d->event_lock);
+ xfree(hvm_irq_dpci);
return -EINVAL;
}
}
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-devel] [PATCH] pass-through: drop lock before calling xfree() on error path,
Jan Beulich <=
|
|
|
|
|