** free all CallInfo structures not in use by a thread */
| 128 | ** free all CallInfo structures not in use by a thread |
| 129 | */ |
| 130 | void luaE_freeCI (lua_State *L) { |
| 131 | CallInfo *ci = L->ci; |
| 132 | CallInfo *next = ci->next; |
| 133 | ci->next = NULL; |
| 134 | while ((ci = next) != NULL) { |
| 135 | next = ci->next; |
| 136 | luaM_free(L, ci); |
| 137 | L->nci--; |
| 138 | } |
| 139 | } |
| 140 | |
| 141 | |
| 142 | /* |
no outgoing calls
no test coverage detected