commit | 756e51cd92643c112a4bec84f0834e6292b2db07 | [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 | a4903f378512c854a83d694b5ade1d22d0a49dd3 [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>