summaryrefslogtreecommitdiff
path: root/drivers/net/davinci_emac.c
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.m@jp.panasonic.com>2013-07-11 17:27:12 +0900
committerScott Wood <scottwood@freescale.com>2013-08-22 17:25:02 -0500
commite40520b5b585c82d90e94c54cb3035b277e8280f (patch)
tree8e73dcba43fa2e2668c1125947203559624eef2a /drivers/net/davinci_emac.c
parent6612ab33956ae09c5ba2fde9c1540b519625ba37 (diff)
downloadu-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