]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: hlua: Fix memory leaks on error path when parsing a lua action
authorChristopher Faulet <cfaulet@haproxy.com>
Mon, 12 Apr 2021 12:37:32 +0000 (14:37 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Mon, 12 Apr 2021 17:04:42 +0000 (19:04 +0200)
commit528526f2ccf6fac0c8755545e814094fe7f76d16
tree15287638b911f97dc9d2af4404514f506a53d077
parent2567f18382a1e64ba67f397e93d57582b11c4b58
BUG/MINOR: hlua: Fix memory leaks on error path when parsing a lua action

hen an error occurred in action_register_lua(), the allocated hlua rule and
arguments must be released to avoid memory leaks.

This patch may be backported in all stable versions.
src/hlua.c