On 26 November 2015 at 18:12, Peng Fan <peng....@freescale.com> wrote:
> Need to free memory avoid memory leak, when error.
>
> Signed-off-by: Peng Fan <peng....@freescale.com>
> Reviewed-by: Simon Glass <s...@chromium.org>
> Cc: Simon Glass <s...@chromium.org>
> Cc: Tom Rini <tr...@konsulko.com>
> ---
>
> Changes V2:
>  Take Simon's comments, fix another memory leak when child->argv is NULL.
>  Add Simon's review tag.
>
>  common/cli_hush.c | 9 +++++++--
>  1 file changed, 7 insertions(+), 2 deletions(-)

Looks good!

- Simon
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to