diff options
author | Masahiro Yamada <yamada.m@jp.panasonic.com> | 2013-07-11 17:27:12 +0900 |
---|---|---|
committer | Scott Wood <scottwood@freescale.com> | 2013-08-22 17:25:02 -0500 |
commit | e40520b5b585c82d90e94c54cb3035b277e8280f (patch) | |
tree | 8e73dcba43fa2e2668c1125947203559624eef2a /drivers/net/davinci_emac.c | |
parent | 6612ab33956ae09c5ba2fde9c1540b519625ba37 (diff) | |
download | u-boot-imx-e40520b5b585c82d90e94c54cb3035b277e8280f.zip u-boot-imx-e40520b5b585c82d90e94c54cb3035b277e8280f.tar.gz u-boot-imx-e40520b5b585c82d90e94c54cb3035b277e8280f.tar.bz2 |
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>
Diffstat (limited to 'drivers/net/davinci_emac.c')
0 files changed, 0 insertions, 0 deletions