Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754175Ab1FFKYR (ORCPT ); Mon, 6 Jun 2011 06:24:17 -0400 Received: from smtp.nokia.com ([147.243.1.47]:58035 "EHLO mgw-sa01.nokia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752943Ab1FFKYN (ORCPT ); Mon, 6 Jun 2011 06:24:13 -0400 Subject: Re: [PATCH 1/2] mtd: pxa3xx_nand: fix a memory leak From: Artem Bityutskiy Reply-To: Artem.Bityutskiy@nokia.com To: Axel Lin Cc: linux-kernel@vger.kernel.org, David Woodhouse , Eric Miao , Haojian Zhuang , linux-mtd@lists.infradead.org In-Reply-To: <1307078050.4167.1.camel@phoenix> References: <1307078050.4167.1.camel@phoenix> Content-Type: text/plain; charset="UTF-8" Organization: Nokia Date: Mon, 06 Jun 2011 13:19:42 +0300 Message-ID: <1307355582.3112.28.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.32.2 (2.32.2-1.fc14) Content-Transfer-Encoding: 8bit X-Nokia-AV: Clean Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 611 Lines: 18 On Fri, 2011-06-03 at 13:14 +0800, Axel Lin wrote: > In pxa3xx_nand_remove, we should call nand_release instead of > mtd_device_unregister to properly free bad block table memory > and bad block descriptor memory. > > Signed-off-by: Axel Lin Pushed to l2-mtd-2.6.git, thanks! -- Best Regards, Artem Bityutskiy (Артём Битюцкий) -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/