diff options
author | Insu Yun <wuninsu@gmail.com> | 2015-12-29 13:45:09 -0500 |
---|---|---|
committer | Brian Norris <computersforpeace@gmail.com> | 2016-01-06 17:23:10 -0800 |
commit | 33853ebd746f0e6aa262745376fde5d4995e0a87 (patch) | |
tree | 273fb9272a2a272b925fe2ed14fd133148a9896e /drivers/mtd/nand/omap2.c | |
parent | 32321e950d8a237d7e8f3a9b76220007dfa87544 (diff) | |
download | linux-33853ebd746f0e6aa262745376fde5d4995e0a87.tar.bz2 |
mtd: cfi_cmdset_0001: fixing memory leak and handling failed kmalloc
kmalloc needs to be handled when failing in memory pressure.
Also, it has memory leak in error routine.
Signed-off-by: Insu Yun <wuninsu@gmail.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Diffstat (limited to 'drivers/mtd/nand/omap2.c')
0 files changed, 0 insertions, 0 deletions