aboutsummaryrefslogtreecommitdiff
path: root/src/lj_cdata.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lj_cdata.c')
-rw-r--r--src/lj_cdata.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lj_cdata.c b/src/lj_cdata.c
index 2f10113b..896781bd 100644
--- a/src/lj_cdata.c
+++ b/src/lj_cdata.c
@@ -56,7 +56,7 @@ void LJ_FASTCALL lj_cdata_free(global_State *g, GCcdata *cd)
56 if (LJ_UNLIKELY(cd->marked & LJ_GC_CDATA_FIN)) { 56 if (LJ_UNLIKELY(cd->marked & LJ_GC_CDATA_FIN)) {
57 GCobj *root; 57 GCobj *root;
58 makewhite(g, obj2gco(cd)); 58 makewhite(g, obj2gco(cd));
59 obj2gco(cd)->gch.marked |= LJ_GC_FINALIZED; 59 markfinalized(obj2gco(cd));
60 if ((root = gcref(g->gc.mmudata)) != NULL) { 60 if ((root = gcref(g->gc.mmudata)) != NULL) {
61 setgcrefr(cd->nextgc, root->gch.nextgc); 61 setgcrefr(cd->nextgc, root->gch.nextgc);
62 setgcref(root->gch.nextgc, obj2gco(cd)); 62 setgcref(root->gch.nextgc, obj2gco(cd));