From mboxrd@z Thu Jan 1 00:00:00 1970 From: Konrad Rzeszutek Wilk Subject: Re: [PATCH 4/9] drivers/xen/gntalloc.c: introduce missing kfree Date: Tue, 3 Jan 2012 13:42:26 -0500 Message-ID: <20120103184226.GA27508@phenom.dumpdata.com> References: <1324661974-17281-4-git-send-email-julia@diku.dk> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <1324661974-17281-4-git-send-email-julia@diku.dk> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: virtualization-bounces@lists.linux-foundation.org Errors-To: virtualization-bounces@lists.linux-foundation.org To: Julia Lawall Cc: Jeremy Fitzhardinge , xen-devel@lists.xensource.com, kernel-janitors@vger.kernel.org, linux-kernel@vger.kernel.org, virtualization@lists.linux-foundation.org List-Id: xen-devel@lists.xenproject.org On Fri, Dec 23, 2011 at 06:39:29PM +0100, Julia Lawall wrote: > Error handling code following a kmalloc should free the allocated data. > Out_unlock is used on both success and failure, so free vm_priv before > jumping to that label. Applied. Thanks!