From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZJb7u-00004s-Fw for barebox@lists.infradead.org; Mon, 27 Jul 2015 05:39:06 +0000 Date: Mon, 27 Jul 2015 07:38:40 +0200 From: Sascha Hauer Message-ID: <20150727053840.GU18700@pengutronix.de> References: <1437744024-2203-1-git-send-email-m.grzeschik@pengutronix.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1437744024-2203-1-git-send-email-m.grzeschik@pengutronix.de> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "barebox" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: Re: [PATCH] xload: fix use after free To: Michael Grzeschik Cc: barebox@lists.infradead.org On Fri, Jul 24, 2015 at 03:20:24PM +0200, Michael Grzeschik wrote: > The variable partname is used in the error path for debugging. > We have to free it after this use. > > Signed-off-by: Michael Grzeschik > --- > arch/arm/mach-omap/xload.c | 5 +++-- > 1 file changed, 3 insertions(+), 2 deletions(-) Applied, thanks Sascha -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox