diff options
Diffstat (limited to 'libs/liblua/src/ldebug.c')
-rw-r--r-- | libs/liblua/src/ldebug.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libs/liblua/src/ldebug.c b/libs/liblua/src/ldebug.c index f1835890a5..e1389296e9 100644 --- a/libs/liblua/src/ldebug.c +++ b/libs/liblua/src/ldebug.c @@ -1,5 +1,5 @@ /* -** $Id: ldebug.c,v 2.120 2016/03/31 19:01:21 roberto Exp roberto $ +** $Id: ldebug.c,v 2.121.1.2 2017/07/10 17:21:50 roberto Exp $ ** Debug Interface ** See Copyright Notice in lua.h */ @@ -653,6 +653,7 @@ l_noret luaG_runerror (lua_State *L, const char *fmt, ...) { CallInfo *ci = L->ci; const char *msg; va_list argp; + luaC_checkGC(L); /* error message uses memory */ va_start(argp, fmt); msg = luaO_pushvfstring(L, fmt, argp); /* format message */ va_end(argp); |