]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: lua: memleak when Lua/cli fails
authorThierry FOURNIER <thierry.fournier@ozon.io>
Sat, 17 Dec 2016 11:09:51 +0000 (12:09 +0100)
committerWilly Tarreau <w@1wt.eu>
Wed, 21 Dec 2016 14:24:35 +0000 (15:24 +0100)
commit1be34152da64cad9f4737ddb17d51a6003e850f2
treee544de57e6e26eb3fc74d04d057c24c3a81ecb8b
parent33558c4a3f2521bb33fa71ebb312babbf1361c13
BUG/MINOR: lua: memleak when Lua/cli fails

If the memory allocator fails, it return a bad code, and the execution
continue. If the Lua/cli initializer fails, the allocated struct is not
released.
src/hlua.c