commit | 36b590c5b6370d97416176b9833685ab5f04ec03 | [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 | 5b47e30b6a3868ea95b97c9e0dd84bf93bf23bed [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>