commit | 4fc9da01d21469ab137cf5607753640485a82fe7 | [log] [tgz] |
---|---|---|
author | Christopher Faulet <cfaulet@haproxy.com> | Mon Apr 12 15:08:12 2021 +0200 |
committer | Christopher Faulet <cfaulet@haproxy.com> | Mon Apr 12 19:04:42 2021 +0200 |
tree | 85dab6d256d32b4f25b039c8305584609c355076 | |
parent | 528526f2ccf6fac0c8755545e814094fe7f76d16 [diff] |
BUG/MINOR: hlua: Fix memory leaks on error path when registering an action When an error occurred in hlua_register_action(), 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.