commit | 2567f18382a1e64ba67f397e93d57582b11c4b58 | [log] [tgz] |
---|---|---|
author | Christopher Faulet <cfaulet@haproxy.com> | Mon Apr 12 14:11:50 2021 +0200 |
committer | Christopher Faulet <cfaulet@haproxy.com> | Mon Apr 12 19:04:42 2021 +0200 |
tree | e117ea01e73adc0f1316bfec253721b8267e36c6 | |
parent | aa22430bba5154487569e0911b8b662dd1b3aaf9 [diff] |
BUG/MINOR: hlua: Fix memory leaks on error path when registering a fetch When an error occurred in hlua_register_fetches(), the allocated lua function and keyword must be released to avoid memory leaks. This patch depends on "MINOR: hlua: Add function to release a lua function". It may be backported in all stable versions. It should fix #1112.