| 228 | |
| 229 | |
| 230 | static void freestack (lua_State *L) { |
| 231 | if (L->stack == NULL) |
| 232 | return; /* stack not completely built yet */ |
| 233 | L->ci = &L->base_ci; /* free the entire 'ci' list */ |
| 234 | luaE_freeCI(L); |
| 235 | lua_assert(L->nci == 0); |
| 236 | luaM_freearray(L, L->stack, L->stacksize); /* free stack array */ |
| 237 | } |
| 238 | |
| 239 | |
| 240 | /* |
no test coverage detected