commit | 5c028d7f9d898e490f4afa04a4a0f07f39c89889 | [log] [tgz] |
---|---|---|
author | Christopher Faulet <cfaulet@haproxy.com> | Mon Apr 12 15:11:44 2021 +0200 |
committer | Christopher Faulet <cfaulet@haproxy.com> | Mon Apr 12 19:04:42 2021 +0200 |
tree | 6e8a5cfb7388c17b4fa7517c0d967c6e975c57a3 | |
parent | 4fc9da01d21469ab137cf5607753640485a82fe7 [diff] |
BUG/MINOR: hlua: Fix memory leaks on error path when registering a service When an error occurred in hlua_register_service(), 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.