Commit 8c4444ff5e1d8e9fd1a847a2fb096aa9aff66f85
1 parent
6258b04e9a
Exists in
master
and in
54 other branches
Fix memory leak in mmc_read()
There is be a path through mmc_read in drivers/mmc/mmc.c where malloc'd memory is not freed before exiting mmc_read: it occurs if mmc_set_blocklen() returns a non-zero value. Reported-by: Quentin Armitage <Quentin@Armitage.org.uk> Signed-off-by: Wolfgang Denk <wd@denx.de>
Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff