commit | 2a3325cd47bbf65897a53861ab1dfb0fb903a5b7 | [log] [tgz] |
---|---|---|
author | xypron.glpk@gmx.de <xypron.glpk@gmx.de> | Sat Apr 15 13:05:40 2017 +0200 |
committer | Tom Rini <trini@konsulko.com> | Tue Apr 18 10:29:22 2017 -0400 |
tree | 4c21bd25dc7cedd6173aebc10e4fcb6614aa8e96 | |
parent | 3f1f8d5c4abc27f070c01be8a65aa6c5aac8010f [diff] |
tools/env: avoid memory leak in fw_setenv If realloc fails we should release the old buffer. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>