[PATCH 1/2] mtd: pxa3xx_nand: fix a memory leak

Artem Bityutskiy Artem.Bityutskiy at nokia.com
Mon Jun 6 06:19:42 EDT 2011


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 <axel.lin at gmail.com>

Pushed to l2-mtd-2.6.git, thanks!

-- 
Best Regards,
Artem Bityutskiy (Артём Битюцкий)




More information about the linux-mtd mailing list