[U-Boot] [PATCH 1/1] sandbox: avoid memory leak in os_dirent_ls
Simon Glass
sjg at chromium.org
Mon Sep 25 02:13:58 UTC 2017
On 21 September 2017 at 04:56, Heinrich Schuchardt <xypron.glpk at gmx.de> wrote:
> Realloc does not free the old memory area if it fails.
>
> Identified by cppcheck.
>
> Signed-off-by: Heinrich Schuchardt <xypron.glpk at gmx.de>
> ---
> arch/sandbox/cpu/os.c | 20 ++++++++++++++------
> 1 file changed, 14 insertions(+), 6 deletions(-)
Reviewed-by: Simon Glass <sjg at chromium.org>
More information about the U-Boot
mailing list