aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lj_clib.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lj_clib.c b/src/lj_clib.c
index dc72dced..41a8738e 100644
--- a/src/lj_clib.c
+++ b/src/lj_clib.c
@@ -364,6 +364,7 @@ TValue *lj_clib_index(lua_State *L, CLibrary *cl, GCstr *name)
364 cd = lj_cdata_new(cts, id, CTSIZE_PTR); 364 cd = lj_cdata_new(cts, id, CTSIZE_PTR);
365 *(void **)cdataptr(cd) = p; 365 *(void **)cdataptr(cd) = p;
366 setcdataV(L, tv, cd); 366 setcdataV(L, tv, cd);
367 lj_gc_anybarriert(L, cl->cache);
367 } 368 }
368 } 369 }
369 return tv; 370 return tv;