
27 Nov
2015
27 Nov
'15
3:52 a.m.
On 26 November 2015 at 18:12, Peng Fan Peng.Fan@freescale.com wrote:
Need to free memory avoid memory leak, when error.
Signed-off-by: Peng Fan Peng.Fan@freescale.com Reviewed-by: Simon Glass sjg@chromium.org Cc: Simon Glass sjg@chromium.org Cc: Tom Rini trini@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