From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Mon, 4 Jan 2016 17:23:23 -0500 Subject: [U-Boot] [U-Boot,1/1] common: cli: avoid memory leak In-Reply-To: <1450775655-2979-1-git-send-email-van.freenix@gmail.com> References: <1450775655-2979-1-git-send-email-van.freenix@gmail.com> Message-ID: <20160104222323.GV4093@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Tue, Dec 22, 2015 at 05:14:13PM +0800, Peng Fan wrote: > From: Peng Fan > > Whether CONFIG_SYS_HUSH_PARSER is defined or not, should always > check to free 'buff' to avoid memory leak. > > Signed-off-by: Peng Fan > Cc: Tom Rini > Cc: Masahiro Yamada > Cc: Simon Glass 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: