| 148 | |
| 149 | |
| 150 | static void freestack (lua_State *L) { |
| 151 | if (L->stack == NULL) |
| 152 | return; /* stack not completely built yet */ |
| 153 | L->ci = &L->base_ci; /* free the entire 'ci' list */ |
| 154 | luaE_freeCI(L); |
| 155 | luaM_freearray(L, L->stack, L->stacksize); /* free stack array */ |
| 156 | } |
| 157 | |
| 158 | |
| 159 | /* |
no test coverage detected