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

Function luaF_freeproto

app/redis-6.2.6/deps/lua/src/lfunc.c:141–149  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

139
140
141void luaF_freeproto (lua_State *L, Proto *f) {
142 luaM_freearray(L, f->code, f->sizecode, Instruction);
143 luaM_freearray(L, f->p, f->sizep, Proto *);
144 luaM_freearray(L, f->k, f->sizek, TValue);
145 luaM_freearray(L, f->lineinfo, f->sizelineinfo, int);
146 luaM_freearray(L, f->locvars, f->sizelocvars, struct LocVar);
147 luaM_freearray(L, f->upvalues, f->sizeupvalues, TString *);
148 luaM_free(L, f);
149}
150
151
152void luaF_freeclosure (lua_State *L, Closure *c) {

Callers 1

freeobjFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected