diff options
Diffstat (limited to 'lgc.c')
-rw-r--r-- | lgc.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lgc.c,v 2.164 2013/09/11 14:56:15 roberto Exp roberto $ | 2 | ** $Id: lgc.c,v 2.165 2013/09/13 16:21:52 roberto Exp roberto $ |
3 | ** Garbage Collector | 3 | ** Garbage Collector |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -496,7 +496,6 @@ static lu_mem traversestack (global_State *g, lua_State *th) { | |||
496 | } | 496 | } |
497 | else { | 497 | else { |
498 | CallInfo *ci; | 498 | CallInfo *ci; |
499 | luaE_freeCI(th); /* free extra CallInfo slots */ | ||
500 | for (ci = &th->base_ci; ci != th->ci; ci = ci->next) | 499 | for (ci = &th->base_ci; ci != th->ci; ci = ci->next) |
501 | n++; /* count call infos to compute size */ | 500 | n++; /* count call infos to compute size */ |
502 | /* should not change the stack during an emergency gc cycle */ | 501 | /* should not change the stack during an emergency gc cycle */ |