aboutsummaryrefslogtreecommitdiff
path: root/lvm.c
diff options
context:
space:
mode:
Diffstat (limited to 'lvm.c')
-rw-r--r--lvm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lvm.c b/lvm.c
index d7000791..5d0709ef 100644
--- a/lvm.c
+++ b/lvm.c
@@ -1593,9 +1593,9 @@ void luaV_execute (lua_State *L, CallInfo *ci) {
1593 savepc(ci); 1593 savepc(ci);
1594 if (TESTARG_k(i)) { 1594 if (TESTARG_k(i)) {
1595 int nparams1 = GETARG_C(i); 1595 int nparams1 = GETARG_C(i);
1596 luaF_close(L, base, LUA_OK); /* there may be open upvalues */
1596 if (nparams1) /* vararg function? */ 1597 if (nparams1) /* vararg function? */
1597 ci->func -= ci->u.l.nextraargs + nparams1; 1598 ci->func -= ci->u.l.nextraargs + nparams1;
1598 luaF_close(L, base, LUA_OK); /* there may be open upvalues */
1599 } 1599 }
1600 luaD_poscall(L, ci, n); 1600 luaD_poscall(L, ci, n);
1601 return; 1601 return;