Clear stack after print_jit_status() in CLI.

Suggested by Hydroque.
This commit is contained in:
Mike Pall 2018-01-29 13:25:51 +01:00
parent d4ee803427
commit 03cd5aa749

View File

@ -151,6 +151,7 @@ static void print_jit_status(lua_State *L)
fputs(s, stdout);
}
putc('\n', stdout);
lua_settop(L, 0); /* clear stack */
}
static int getargs(lua_State *L, char **argv, int n)