commit | 04d0da51578e12bd7c490aa70ed581ee5f9dcfea | [log] [tgz] |
---|---|---|
author | Heinrich Schuchardt <xypron.glpk@gmx.de> | Thu Sep 21 12:56:07 2017 +0200 |
committer | Simon Glass <sjg@chromium.org> | Sun Oct 08 20:41:09 2017 -0600 |
tree | c324ac6525838f841514c974dca046fc675b31ff | |
parent | 68a345294ac74505f17d65b003a7de836b3d9cba [diff] |
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>