commit | aa22430bba5154487569e0911b8b662dd1b3aaf9 | [log] [tgz] |
---|---|---|
author | Christopher Faulet <cfaulet@haproxy.com> | Mon Apr 12 14:08:21 2021 +0200 |
committer | Christopher Faulet <cfaulet@haproxy.com> | Mon Apr 12 19:04:42 2021 +0200 |
tree | 0ebed138fc17f80e1ccdf3dbf28315881abbb025 | |
parent | 5294ec0708ab686e59c48252d1ef6e8c7e40972b [diff] |
BUG/MINOR: hlua: Fix memory leaks on error path when registering a converter When an error occurred in hlua_register_converters(), 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.