aboutsummaryrefslogtreecommitdiff
path: root/lauxlib.c
diff options
context:
space:
mode:
Diffstat (limited to 'lauxlib.c')
-rw-r--r--lauxlib.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lauxlib.c b/lauxlib.c
index b70b7ae6..defd4d57 100644
--- a/lauxlib.c
+++ b/lauxlib.c
@@ -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}