commit | 4fdf8b58f22be259e2c754fbd6846ede30524e62 | [log] [tgz] |
---|---|---|
author | Aurelien DARRAGON <adarragon@haproxy.com> | Mon Mar 20 17:22:37 2023 +0100 |
committer | Christopher Faulet <cfaulet@haproxy.com> | Wed Apr 05 08:58:17 2023 +0200 |
tree | 293e6d7b122d36e0a87b1552ce3165dd27826e2a | |
parent | 73d1a98d525d294a14d6c3bd28890437800e84d3 [diff] |
CLEANUP: hlua: use hlua_pushref() instead of lua_rawgeti() Using hlua_pushref() everywhere temporary lua objects are involved. (ie: hlua_checkfunction(), hlua_checktable...) Those references are expected to be cleared using hlua_unref() when they are no longer used.