mirror of
https://github.com/haproxy/haproxy.git
synced 2026-04-15 21:59:41 -04:00
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 since2c8b54e7("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 with2c8b54e7("MEDIUM: lua: remove Lua struct from session, and allocate it with memory pools")
This commit is contained in:
parent
c4b2437037
commit
60ab0f7d20
1 changed files with 1 additions and 1 deletions
|
|
@ -1300,7 +1300,7 @@ static void hlua_httpclient_destroy_all(struct hlua *hlua)
|
|||
|
||||
/* Used to destroy the Lua coroutine when the attached stream or task
|
||||
* is destroyed. The destroy also the memory context. The struct "lua"
|
||||
* is not freed.
|
||||
* will be freed.
|
||||
*/
|
||||
void hlua_ctx_destroy(struct hlua *lua)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue