commit | e40520b5b585c82d90e94c54cb3035b277e8280f | [log] [tgz] |
---|---|---|
author | Masahiro Yamada <yamada.m@jp.panasonic.com> | Thu Jul 11 17:27:12 2013 +0900 |
committer | Scott Wood <scottwood@freescale.com> | Thu Aug 22 17:25:02 2013 -0500 |
tree | 8e73dcba43fa2e2668c1125947203559624eef2a | |
parent | 6612ab33956ae09c5ba2fde9c1540b519625ba37 [diff] |
cmd_nand: fix a memory leak in nand_dump function If datbuf = memalign(ARCH_DMA_MINALIGN, nand->writesize); succeeds and oobbuf = memalign(ARCH_DMA_MINALIGN, nand->oobsize); fails, nand_dump function should free databuf. Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>