commit | 5294ec0708ab686e59c48252d1ef6e8c7e40972b | [log] [tgz] |
---|---|---|
author | Christopher Faulet <cfaulet@haproxy.com> | Mon Apr 12 12:24:47 2021 +0200 |
committer | Christopher Faulet <cfaulet@haproxy.com> | Mon Apr 12 19:04:42 2021 +0200 |
tree | 35fd670fdae24e0f2c1099c7b546abb108cd134d | |
parent | dda44442d5b1a082fa798112ec70067da49ad875 [diff] |
BUG/MINOR: hlua: Fix memory leaks on error path when registering a task When an error occurred in hlua_register_task(), the allocated lua context and task must be released to avoid memory leaks. This patch may be backported in all stable versions.