commit | f53b5eada3ef08260ad704d4eb9a61063297e800 | [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 | af4b021171f5fb2c3a70e325469e0b54ab55bd6f [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>