summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2010-03-11 23:35:43 +0100
committerWolfgang Denk <wd@denx.de>2010-03-11 23:35:43 +0100
commit8c4444ff5e1d8e9fd1a847a2fb096aa9aff66f85 (patch)
tree8fe834f4fc0d1d3af866b3ac2c4039b32c602c20 /common
parent6258b04e9a41ee60f21547358a58fbcb9087735d (diff)
downloadu-boot-imx-8c4444ff5e1d8e9fd1a847a2fb096aa9aff66f85.zip
u-boot-imx-8c4444ff5e1d8e9fd1a847a2fb096aa9aff66f85.tar.gz
u-boot-imx-8c4444ff5e1d8e9fd1a847a2fb096aa9aff66f85.tar.bz2
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>
Diffstat (limited to 'common')
0 files changed, 0 insertions, 0 deletions