From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Vrabel Subject: Re: [PATCH v2] xen: fix memory leak in __xen_pcibk_add_pci_dev() Date: Thu, 3 Apr 2014 12:55:25 +0100 Message-ID: <533D4C2D.4000803@citrix.com> References: <2172979.BN2CJo57Rq@daeseok-laptop.cloud.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta14.messagelabs.com ([193.109.254.103]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1WVgF0-00034t-IR for xen-devel@lists.xenproject.org; Thu, 03 Apr 2014 11:55:30 +0000 In-Reply-To: <2172979.BN2CJo57Rq@daeseok-laptop.cloud.net> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Daeseok Youn Cc: linux-kernel@vger.kernel.org, JBeulich@suse.com, joe@perches.com, xen-devel@lists.xenproject.org, boris.ostrovsky@oracle.com List-Id: xen-devel@lists.xenproject.org On 01/04/14 11:15, Daeseok Youn wrote: > > It need to free dev_entry when it failed to assign to a new > slot on the virtual PCI bus. > > smatch says: > drivers/xen/xen-pciback/vpci.c:142 __xen_pcibk_add_pci_dev() warn: > possible memory leak of 'dev_entry' Applied to devel/for-linus-3.15. Thanks. David