Add popping the error message in LuaRun to keep the Lua stack balanced.

This commit is contained in:
Paul Kulchenko 2021-08-07 10:00:02 -07:00
parent aeeb851422
commit bde630a7ad

View file

@ -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);
}