[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] passthrough: fix domain ref leak after 24888:71159fb049f2
# HG changeset patch # User Jan Beulich <jbeulich@xxxxxxxx> # Date 1331114358 -3600 # Node ID f234e34ea28f753bba92980f367cf545666d69a1 # Parent e0d944b501512fe3b9866f79e95ad0f29cd5caca passthrough: fix domain ref leak after 24888:71159fb049f2 As pointed out by Keir. Signed-off-by: Jan Beulich <jbeulich@xxxxxxxx> Acked-by: Keir Fraser <keir@xxxxxxx> --- diff -r e0d944b50151 -r f234e34ea28f xen/drivers/passthrough/iommu.c --- a/xen/drivers/passthrough/iommu.c Wed Mar 07 09:12:23 2012 +0000 +++ b/xen/drivers/passthrough/iommu.c Wed Mar 07 10:59:18 2012 +0100 @@ -580,6 +580,8 @@ printk(XENLOG_G_ERR "XEN_DOMCTL_assign_device: get_domain_by_id() failed\n"); ret = -EINVAL; + if ( d ) + goto assign_device_out; break; } _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |