summaryrefslogtreecommitdiffstats
path: root/lib/percpu_counter.c
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@gmail.com>2011-06-03 13:15:30 +0800
committerArtem Bityutskiy <artem.bityutskiy@intel.com>2011-09-11 15:01:59 +0300
commit82e023ab4e144da7f83fe7e6c93a09be2f30ff07 (patch)
tree67408171675ff33e0dab84e90ef13509e5a0bcf0 /lib/percpu_counter.c
parent1a3591920e5100ba112a19e10a09ce7a5da1ab23 (diff)
downloadblackbird-op-linux-82e023ab4e144da7f83fe7e6c93a09be2f30ff07.tar.gz
blackbird-op-linux-82e023ab4e144da7f83fe7e6c93a09be2f30ff07.zip
mtd: fsmc_nand: fix a memory leak
In fsmc_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> Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Diffstat (limited to 'lib/percpu_counter.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud