rv1126-uboot/tools
Stefano Babic 33f0086cb7 env: fix memory leak in fw_env routines
fw_env_open allocates buffers to store the environment, but these
buffers are never freed. This becomes quite nasty using the fw_ tools as
library, because each access to the environment (even just reading a
variable) generates a memory leak equal to the size of the environment.

Fix this renaming fw_env_close() as fw_env_flush(), because the function
really flushes the environment from RAM to storage, and add a
fw_env_close function to free the allocated resources.

Signed-off-by: Stefano Babic <sbabic@denx.de>
2017-04-12 13:28:29 -04:00
..
binman tools: binman: Add missing filenames for various x86 rom tests 2017-04-10 10:02:03 +08:00
buildman kconfiglib.py: Kludge in 'imply' support 2017-03-09 19:52:14 -05:00
dtoc dtoc: make ScanTree recurse into subnodes 2017-03-22 07:27:19 -06:00
easylogo
env env: fix memory leak in fw_env routines 2017-04-12 13:28:29 -04:00
gdb
kermit
logos
omap
patman patman: Handle non-ascii characters in names 2017-02-08 06:12:16 -07:00
scripts
tbot
.gitignore tools: sunxi: Add spl image builder 2017-04-07 11:23:45 +05:30
Makefile tools: sunxi: Add spl image builder 2017-04-07 11:23:45 +05:30
aisimage.c
aisimage.h
atmel_pmecc_params.c
atmelimage.c
bmp_logo.c
default_image.c
dumpimage.c
dumpimage.h
envcrc.c
fdt_host.h
fdtgrep.c
fit_check_sign.c
fit_common.c
fit_common.h
fit_image.c mkimage: Add support for signing with pkcs11 2017-01-14 16:47:13 -05:00
fit_info.c
gen_eth_addr.c
gen_ethaddr_crc.c tools: Add tool to add crc8 to a mac address 2017-02-07 10:54:33 -06:00
genboardscfg.py
getline.c
getline.h
gpheader.h
gpimage-common.c
gpimage.c
ifdtool.c
ifdtool.h
image-host.c mkimage: Add support for signing with pkcs11 2017-01-14 16:47:13 -05:00
imagetool.c
imagetool.h mkimage: Add support for signing with pkcs11 2017-01-14 16:47:13 -05:00
img2brec.sh
img2srec.c
imximage.c tools: imximage: add set bit command 2017-03-19 17:30:15 +01:00
imximage.h tools: imximage: add set bit command 2017-03-19 17:30:15 +01:00
jtagconsole
kwbimage.c tools: kwbimage: Fix unchecked return value and fd leak 2017-02-17 10:15:21 +01:00
kwbimage.h arm: mvebu: Implement secure boot 2017-02-01 09:04:18 +01:00
kwboot.c tools: kwboot: don't adjust destaddr when patching the image 2017-02-17 10:15:56 +01:00
lpc32xximage.c
microcode-tool
microcode-tool.py
mingw_support.c
mingw_support.h
mkenvimage.c
mkexynosspl.c
mkimage.c tools: mkimage: fix sizeof_mismatch found by coverity 2017-01-20 15:38:04 -05:00
mkimage.h
mksunxiboot.c
moveconfig.py
mxsboot.c
mxsimage.c
mxsimage.h
ncb.c
netconsole
omapimage.c tools: omapimage: Fix size in header 2017-03-14 20:40:17 -04:00
omapimage.h
os_support.c
os_support.h
pbl_crc32.c
pbl_crc32.h
pblimage.c tools: plbimage support generate rcw file 2017-03-28 09:19:18 -07:00
pblimage.h
proftool.c
relocate-rela.c
rkcommon.c rockchip: mkimage: update rkimage to support pre-padded payloads 2017-04-04 20:01:57 -06:00
rkcommon.h rockchip: mkimage: update rkimage to support pre-padded payloads 2017-04-04 20:01:57 -06:00
rkimage.c rockchip: mkimage: Allow encoding of loader code in spl images 2017-03-16 16:03:44 -06:00
rkmux.py
rksd.c rockchip: mkimage: pad the header to 8-bytes (using a 'nop') for RK3399 2017-04-04 20:01:57 -06:00
rkspi.c rockchip: mkimage: pad the header to 8-bytes (using a 'nop') for RK3399 2017-04-04 20:01:57 -06:00
socfpgaimage.c
sunxi-spl-image-builder.c tools: sunxi: Add spl image builder 2017-04-07 11:23:45 +05:30
ublimage.c
ublimage.h
ubsha1.c
vybridimage.c
xway-swap-bytes.c
zynqimage.c
zynqmpimage.c