diff options
Diffstat (limited to 'lauxlib.c')
-rw-r--r-- | lauxlib.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -618,6 +618,7 @@ LUALIB_API void luaL_pushresult (luaL_Buffer *B) { | |||
618 | box->bsize = 0; box->box = NULL; | 618 | box->bsize = 0; box->box = NULL; |
619 | lua_pushextlstring(L, s, len, allocf, ud); | 619 | lua_pushextlstring(L, s, len, allocf, ud); |
620 | lua_closeslot(L, -2); /* close the box */ | 620 | lua_closeslot(L, -2); /* close the box */ |
621 | lua_gc(L, LUA_GCSTEP, len); | ||
621 | } | 622 | } |
622 | lua_remove(L, -2); /* remove box or placeholder from the stack */ | 623 | lua_remove(L, -2); /* remove box or placeholder from the stack */ |
623 | } | 624 | } |