diff options
author | Heinrich Schuchardt <xypron.glpk@gmx.de> | 2017-09-21 10:56:07 (GMT) |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2017-10-09 02:41:09 (GMT) |
commit | 04d0da51578e12bd7c490aa70ed581ee5f9dcfea (patch) | |
tree | c324ac6525838f841514c974dca046fc675b31ff /drivers/mtd/stm32_flash.c | |
parent | 68a345294ac74505f17d65b003a7de836b3d9cba (diff) | |
download | u-boot-04d0da51578e12bd7c490aa70ed581ee5f9dcfea.tar.xz |
sandbox: avoid memory leak in os_dirent_ls
Realloc does not free the old memory area if it fails.
Identified by cppcheck.
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/mtd/stm32_flash.c')
0 files changed, 0 insertions, 0 deletions