]> git.dujemihanovic.xyz Git - u-boot.git/commit
common: cli_hush: avoid memory leak
authorPeng Fan <Peng.Fan@freescale.com>
Fri, 27 Nov 2015 02:12:02 +0000 (10:12 +0800)
committerTom Rini <trini@konsulko.com>
Sat, 5 Dec 2015 23:22:28 +0000 (18:22 -0500)
commitc6bb23c819b5dcbc5c3491673f5e408c0b9c38b3
treea5aaf2fb6a7e5824aebe2adf2f3b62025cc210c2
parent63ce348d275cddf17efa1b1c1609f214847b4643
common: cli_hush: avoid memory leak

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>
common/cli_hush.c