CLEANUP: hlua: fix conflicting comment in hlua_ctx_destroy()
The comment for the hlua_ctx_destroy() function states that the "lua"
struct is not freed.
This is not true anymore since 2c8b54e7 ("MEDIUM: lua: remove Lua struct
from session, and allocate it with memory pools")
Updating the function comment to properly report the actual behavior.
This could be backported in every stable versions with 2c8b54e7
("MEDIUM: lua: remove Lua struct from session, and allocate it with memory pools")
(cherry picked from commit 60ab0f7d207addd0ff2d2b767d1e25fd62d56eda)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
(cherry picked from commit c20c4b7181c3afd30911be987180c14193d2a2c4)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
(cherry picked from commit d14798e49827784af7c667528b982b2667598d08)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
(cherry picked from commit c6a9e6ad19d2bfab81aba729dc31259d40e1a224)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
1 file changed