mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-06-28 07:18:30 +00:00
parent
b142ea7176
commit
55a15c204e
16 changed files with 557 additions and 20 deletions
4
third_party/lua/lgc.c
vendored
4
third_party/lua/lgc.c
vendored
|
@ -17,6 +17,7 @@
|
|||
#include "third_party/lua/lstate.h"
|
||||
#include "third_party/lua/lstring.h"
|
||||
#include "third_party/lua/ltable.h"
|
||||
#include "third_party/lua/larray.h"
|
||||
#include "third_party/lua/ltm.h"
|
||||
#include "third_party/lua/lua.h"
|
||||
|
||||
|
@ -777,6 +778,9 @@ static void freeobj (lua_State *L, GCObject *o) {
|
|||
case LUA_VTABLE:
|
||||
luaH_free(L, gco2t(o));
|
||||
break;
|
||||
case LUA_TARRAY:
|
||||
luaA_free(L, gco2a(o));
|
||||
break;
|
||||
case LUA_VTHREAD:
|
||||
luaE_freethread(L, gco2th(o));
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue