diff options
author | xypron.glpk@gmx.de <xypron.glpk@gmx.de> | 2017-04-15 13:05:40 +0200 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2017-04-18 10:29:22 -0400 |
commit | ddc6a9de057e0fd0b46ba21d16a50a8d24351ef6 (patch) | |
tree | 4c21bd25dc7cedd6173aebc10e4fcb6614aa8e96 /tools/imximage.h | |
parent | 1ecd2a2f0600e61f2edff4fc3dce76f0f6559b67 (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>
Diffstat (limited to 'tools/imximage.h')
0 files changed, 0 insertions, 0 deletions