xypron.glpk@gmx.de ddc6a9de05 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>
2017-04-18 10:29:22 -04:00
..
2017-04-07 11:23:45 +05:30
2016-05-02 18:37:09 -04:00
2016-05-02 18:37:09 -04:00
2016-11-23 23:41:23 -08:00
2017-02-01 09:04:18 +01:00
2017-04-13 14:44:49 -06:00
2016-02-21 11:09:19 +01:00
2015-11-16 17:22:18 -05:00