openwrtv4/package
BangLang Huang 1948d8e08c nvram: fix memory leak
Fix memory leak on nvram_open() and nvram_open_rdonly().

For nvram_open(), the 'fd' should be closed on error, and
mmap_area should be unmap when nvram magic can not be found.

For nvram_open_rdonly(), the 'file' variable should free before
return. Once nvram_find_mtd() return successfully, it will allocate
memory to save mtd device string.

Signed-off-by: BangLang Huang <banglang.huang@foxmail.com>
2017-08-22 14:31:32 +02:00
..
base-files base-files: drop unused preinit_echo function 2017-08-09 23:23:06 +02:00
boot uboot-lantiq: Enable TFTP PUT support for backups 2017-08-18 18:47:27 +02:00
devel toolchain/arc: update to the most recent release arc-2017.03 2017-07-18 23:23:27 +02:00
firmware ath10k-firmware: add qca9888 firmware 2017-06-27 11:47:07 +02:00
kernel gpio-button-hotplug: leave platform_device.dev.platform_data untouched 2017-08-21 21:29:52 +02:00
libs openssl: update to version 1.0.2l 2017-07-28 23:07:17 +02:00
network netifd: update to latest git HEAD 2017-08-22 09:17:14 +02:00
system ca-certificates: Update to 20170717 2017-08-18 18:44:38 +02:00
utils nvram: fix memory leak 2017-08-22 14:31:32 +02:00
Makefile build: cleanup tmp/ dir of target rootfs 2017-05-02 22:10:50 +08:00