[U-Boot] [PATCH v2 1/1] tools/env: avoid memory leak in fw_setenv

Simon Glass sjg at chromium.org
Sun Apr 16 19:34:03 UTC 2017


On 15 April 2017 at 05:05, Heinrich Schuchardt <xypron.glpk at gmx.de> wrote:
> If realloc fails we should release the old buffer.
>
> Signed-off-by: Heinrich Schuchardt <xypron.glpk at gmx.de>
> ---
> v2:
>   Initial mail was garbled.
> ---
>  tools/env/fw_env.c | 3 +++
>  1 file changed, 3 insertions(+)

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list