[U-Boot] [PATCH 14/14] main: Avoid unncessary strdup()/free()

Tom Rini trini at ti.com
Fri May 30 17:29:00 CEST 2014


On Thu, Apr 10, 2014 at 08:01:36PM -0600, Simon Glass wrote:

> It doesn't seem necessary to use memory allocation in this code. The setenv()
> will make a copy anyway.
> 
> Signed-off-by: Simon Glass <sjg at chromium.org>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20140530/7d096c43/attachment.pgp>


More information about the U-Boot mailing list