aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib_ffi.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib_ffi.c b/src/lib_ffi.c
index a29014e5..b4321048 100644
--- a/src/lib_ffi.c
+++ b/src/lib_ffi.c
@@ -573,6 +573,7 @@ LJLIB_CF(ffi_typeinfo)
573 setintV(lj_tab_setstr(L, t, lj_str_newlit(L, "sib")), (int32_t)ct->sib); 573 setintV(lj_tab_setstr(L, t, lj_str_newlit(L, "sib")), (int32_t)ct->sib);
574 if (gcref(ct->name)) { 574 if (gcref(ct->name)) {
575 GCstr *s = gco2str(gcref(ct->name)); 575 GCstr *s = gco2str(gcref(ct->name));
576 if (isdead(G(L), obj2gco(s))) flipwhite(obj2gco(s));
576 setstrV(L, lj_tab_setstr(L, t, lj_str_newlit(L, "name")), s); 577 setstrV(L, lj_tab_setstr(L, t, lj_str_newlit(L, "name")), s);
577 } 578 }
578 lj_gc_check(L); 579 lj_gc_check(L);