CLEANUP: hlua: fix conflicting comment in hlua_ctx_destroy()
authorAurelien DARRAGON <adarragon@haproxy.com>
Wed, 1 Mar 2023 15:45:50 +0000 (16:45 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Wed, 5 Apr 2023 06:58:16 +0000 (08:58 +0200)
commit60ab0f7d207addd0ff2d2b767d1e25fd62d56eda
treea509563fcac8120f5e11c3a370d49ea9b6482606
parentc4b24370375a1d5ec03f663a487be630234ed999
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")
src/hlua.c