Skip to content
Snippets Groups Projects
Commit 04d0da51 authored by Heinrich Schuchardt's avatar Heinrich Schuchardt Committed by Simon Glass
Browse files

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: default avatarHeinrich Schuchardt <xypron.glpk@gmx.de>
Reviewed-by: default avatarSimon Glass <sjg@chromium.org>
parent 68a34529
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment