[U-Boot] [U-Boot,1/1] common: cli: avoid memory leak

Tom Rini trini at konsulko.com
Mon Jan 4 23:23:23 CET 2016


On Tue, Dec 22, 2015 at 05:14:13PM +0800, Peng Fan wrote:

> From: Peng Fan <peng.fan at nxp.com>
> 
> Whether CONFIG_SYS_HUSH_PARSER is defined or not, should always
> check to free 'buff' to avoid memory leak.
> 
> Signed-off-by: Peng Fan <peng.fan at nxp.com>
> Cc: Tom Rini <trini at konsulko.com>
> Cc: Masahiro Yamada <yamada.masahiro at socionext.com>
> Cc: Simon Glass <sjg at chromium.org>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160104/9be7cc4b/attachment.sig>


More information about the U-Boot mailing list