From mboxrd@z Thu Jan 1 00:00:00 1970 From: Keir Fraser Subject: Re: [PATCH] passthrough: fix domain ref leak after 24888:71159fb049f2 Date: Wed, 07 Mar 2012 09:44:49 +0000 Message-ID: References: <4F573B670200007800076DC4@nat28.tlf.novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <4F573B670200007800076DC4@nat28.tlf.novell.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Jan Beulich , xen-devel List-Id: xen-devel@lists.xenproject.org On 07/03/2012 09:41, "Jan Beulich" wrote: > As pointed out by Keir. > > Signed-off-by: Jan Beulich Acked-by: Keir Fraser > --- a/xen/drivers/passthrough/iommu.c > +++ b/xen/drivers/passthrough/iommu.c > @@ -580,6 +580,8 @@ int iommu_do_domctl( > printk(XENLOG_G_ERR > "XEN_DOMCTL_assign_device: get_domain_by_id() failed\n"); > ret = -EINVAL; > + if ( d ) > + goto assign_device_out; > break; > } > > > > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xen.org > http://lists.xen.org/xen-devel