Skip to content
Snippets Groups Projects
Commit e40520b5 authored by Masahiro Yamada's avatar Masahiro Yamada Committed by Scott Wood
Browse files

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: default avatarMasahiro Yamada <yamada.m@jp.panasonic.com>
parent 6612ab33
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment