Re: [OpenWrt-Devel] [PATCH][UCI] Add multiple free for each call to lookup_args()

2013-04-22 Thread Jo-Philipp Wich
Merged in r36377 (http://nbd.name/gitweb.cgi?p=uci.git;a=commitdiff;h=1e1f503d8fb8336da22029faaa1a7252bed22976) Your mailer mangled the patch, therefore it was ingored previously. ~ Jow ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org

[OpenWrt-Devel] [PATCH][UCI] Add multiple free for each call to lookup_args()

2013-02-06 Thread Jérôme Poulin
This memory leak can be reproduced using a tight loop to uci:get() a config. lua -e 'require(posix); require(uci); function getconf() local tmp, uc = uci.cursor(); tmp = uc:get(system, ntp, enable_server); end; while 1 do for i=0,1000 do getconf() end; print(gc);