commit | 95856248ca93b9048d87264fbef67ca382975650 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Thu Apr 10 20:01:36 2014 -0600 |
committer | Tom Rini <trini@ti.com> | Thu May 29 17:52:03 2014 -0400 |
tree | 5898148e13d9130c5c41ad2962b56f61b4dbda89 | |
parent | affb215626f91e717088a27081d24c473895d47d [diff] |
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>