]> git.sur5r.net Git - u-boot/commit
main: Avoid unncessary strdup()/free()
authorSimon Glass <sjg@chromium.org>
Fri, 11 Apr 2014 02:01:36 +0000 (20:01 -0600)
committerTom Rini <trini@ti.com>
Thu, 29 May 2014 21:52:03 +0000 (17:52 -0400)
commit95856248ca93b9048d87264fbef67ca382975650
tree5898148e13d9130c5c41ad2962b56f61b4dbda89
parentaffb215626f91e717088a27081d24c473895d47d
main: Avoid unncessary strdup()/free()

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@chromium.org>
common/main.c