lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On Sat, Oct 5, 2019 at 11:53 AM Viacheslav Usov <via.usov@gmail.com> wrote:

> In the first check, luaF_newtbcupval() obtains the metamethod just for the sake of checking that it exists, it is not used nor stored for later use.

I missed that the error handling branch that follows depends on this check and calls callclose() unconditionally, which is easy to fix.

Cheers,
V.