]> git.baikalelectronics.ru Git - kernel.git/commit
mtd: txx9ndfmc: Use nand_release to free resources
authorAtsushi Nemoto <anemo@mba.ocn.ne.jp>
Mon, 2 Nov 2009 14:40:48 +0000 (23:40 +0900)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Mon, 30 Nov 2009 09:47:42 +0000 (09:47 +0000)
commitf0e83dacc7e9b1f6a0fae876abb24f8808d71d53
treeb23ead3aecc88dffc0c41c466d518ccfddd23db4
parenteb67ae76842b57c6c417606dc031eca744f982ad
mtd: txx9ndfmc: Use nand_release to free resources

This patch fixes memory leak on chip->bbt and chip->buffers.

Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/nand/txx9ndfmc.c