diff options
author | thomas.langer@lantiq.com <thomas.langer@lantiq.com> | 2011-03-29 02:35:14 +0000 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2011-04-28 00:46:01 +0200 |
commit | 2dc55d9ede62cd2af2a6d813115373a462c2b3dc (patch) | |
tree | 8ac42dc40619c37ac02fb852ae8173686bc53690 /include/galileo/core.h | |
parent | f38536f9138c253b0c1f9c72093a7ec6808e638f (diff) | |
download | u-boot-imx-2dc55d9ede62cd2af2a6d813115373a462c2b3dc.zip u-boot-imx-2dc55d9ede62cd2af2a6d813115373a462c2b3dc.tar.gz u-boot-imx-2dc55d9ede62cd2af2a6d813115373a462c2b3dc.tar.bz2 |
fix redundant environment for serial flash
This patch fixes problems in the handling of redundant environment in env_sf.c
The major problem are double calls of free() on the allocated buffers,
which damages the internal data of malloc and crashes on next call.
In addition, the selection of the active environment had errors and compiler
warnings, which are corrected by this patch.
Signed-off-by: Thomas Langer <thomas.langer@lantiq.com>
Diffstat (limited to 'include/galileo/core.h')
0 files changed, 0 insertions, 0 deletions