MCPcopy Create free account
hub / github.com/F-Stack/f-stack / freestack

Function freestack

freebsd/contrib/openzfs/module/lua/lstate.c:150–156  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

148
149
150static 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/*

Callers 2

close_stateFunction · 0.70
luaE_freethreadFunction · 0.70

Calls 1

luaE_freeCIFunction · 0.85

Tested by

no test coverage detected