diff options
author | Mike Pall <mike> | 2023-04-30 13:38:29 +0200 |
---|---|---|
committer | Mike Pall <mike> | 2023-04-30 13:38:29 +0200 |
commit | 224129a8e64bfa219d35cd03055bf03952f167f6 (patch) | |
tree | 69a7a12e5fd1ebc75914dda0f44436e617613d46 | |
parent | 1c279127050e86e99970100e9c42e0f09cd54ab7 (diff) | |
download | luajit2-v2.1.tar.gz |
Fix last commit.v2.1
Reported by PluMGMK.
-rw-r--r-- | src/lib_aux.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib_aux.c b/src/lib_aux.c index 7b01693a..4222367d 100644 --- a/src/lib_aux.c +++ b/src/lib_aux.c @@ -359,6 +359,7 @@ LUALIB_API lua_State *luaL_newstate(void) lua_pushcfunction(L, error_finalizer); lua_rawseti(L, -2, VMEVENT_HASH(LJ_VMEVENT_ERRFIN)); G(L)->vmevmask = VMEVENT_MASK(LJ_VMEVENT_ERRFIN); + L->top--; #endif } return L; @@ -381,6 +382,7 @@ LUALIB_API lua_State *luaL_newstate(void) lua_pushcfunction(L, error_finalizer); lua_rawseti(L, -2, VMEVENT_HASH(LJ_VMEVENT_ERRFIN)); G(L)->vmevmask = VMEVENT_MASK(LJ_VMEVENT_ERRFIN); + L->top--; #endif } return L; |