]> git.ipfire.org Git - thirdparty/haproxy.git/commit
CLEANUP: hlua: use hlua_ref() instead of luaL_ref()
authorAurelien DARRAGON <adarragon@haproxy.com>
Mon, 20 Mar 2023 16:42:08 +0000 (17:42 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Wed, 5 Apr 2023 06:58:17 +0000 (08:58 +0200)
commit73d1a98d525d294a14d6c3bd28890437800e84d3
tree1f9eadc2346a337a12f3ca62de10c907a92592c1
parent55afbedfb4d4013a7dda16db16b6dc27eb7ed762
CLEANUP: hlua: use hlua_ref() instead of luaL_ref()

Using hlua_ref() everywhere temporary lua objects are involved.
Those references are expected to be cleared using hlua_unref()
when they are no longer used.
src/hlua.c