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 50d967c6..fc8722a8 100644
--- a/lvm.c
+++ b/lvm.c
@@ -1565,7 +1565,7 @@ void luaV_execute (lua_State *L, CallInfo *ci) {
1565 if (nparams1) /* vararg function? */ 1565 if (nparams1) /* vararg function? */
1566 delta = ci->u.l.nextraargs + nparams1; 1566 delta = ci->u.l.nextraargs + nparams1;
1567 /* close upvalues from current call */ 1567 /* close upvalues from current call */
1568 ProtectNT(luaF_close(L, base, LUA_OK)); 1568 luaF_close(L, base, -1); /* (no to-be-closed vars. here) */
1569 updatestack(ci); 1569 updatestack(ci);
1570 } 1570 }
1571 if (!ttisfunction(s2v(ra))) { /* not a function? */ 1571 if (!ttisfunction(s2v(ra))) { /* not a function? */