commit | 1a3591920e5100ba112a19e10a09ce7a5da1ab23 | [log] [tgz] |
---|---|---|
author | Axel Lin <axel.lin@gmail.com> | Fri Jun 03 13:14:10 2011 +0800 |
committer | Artem Bityutskiy <artem.bityutskiy@intel.com> | Sun Sep 11 15:01:59 2011 +0300 |
tree | 762c22759586e350bda7846baef068294bcfa8fd | |
parent | d80932b2dc497faa27e415c12f56f6ae1d087204 [diff] |
mtd: pxa3xx_nand: fix a memory leak 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@gmail.com> Acked-by: Lei Wen <leiwen@marvell.com> Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>