| 169 | |
| 170 | |
| 171 | static void freestack (lua_State *L) { |
| 172 | if (L->stack == NULL) |
| 173 | return; /* stack not completely built yet */ |
| 174 | L->ci = &L->base_ci; /* free the entire 'ci' list */ |
| 175 | luaE_freeCI(L); |
| 176 | lua_assert(L->nci == 0); |
| 177 | luaM_freearray(L, L->stack, L->stacksize); /* free stack array */ |
| 178 | } |
| 179 | |
| 180 | |
| 181 | /* |
no test coverage detected