diff options
Diffstat (limited to 'lapi.c')
-rw-r--r-- | lapi.c | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -545,7 +545,6 @@ LUA_API const char *lua_pushextlstring (lua_State *L, | |||
545 | ts = luaS_newextlstr (L, s, len, falloc, ud); | 545 | ts = luaS_newextlstr (L, s, len, falloc, ud); |
546 | setsvalue2s(L, L->top.p, ts); | 546 | setsvalue2s(L, L->top.p, ts); |
547 | api_incr_top(L); | 547 | api_incr_top(L); |
548 | if (falloc != NULL) /* non-static string? */ | ||
549 | luaC_checkGC(L); | 548 | luaC_checkGC(L); |
550 | lua_unlock(L); | 549 | lua_unlock(L); |
551 | return getstr(ts); | 550 | return getstr(ts); |