mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-08-05 17:30:27 +00:00
Add popping the error message in LuaRun to keep the Lua stack balanced.
This commit is contained in:
parent
aeeb851422
commit
bde630a7ad
1 changed files with 1 additions and 0 deletions
|
@ -5194,6 +5194,7 @@ static bool LuaRun(const char *path, bool mandatory) {
|
|||
} else {
|
||||
WARNF("%s %s", path, lua_tostring(L, -1));
|
||||
}
|
||||
lua_pop(L, 1);
|
||||
}
|
||||
free(code);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue