add GC_GUARD

We observed mark miss on this point so we add RB_GC_GUARD() to
avoid wrong free.
This commit is contained in:
Koichi Sasada 2020-09-24 17:07:27 +09:00
parent 4a588e70b8
commit 29ed16ff4a

View File

@ -460,6 +460,7 @@ ractor_basket_accept(struct rb_ractor_basket *b)
break;
case basket_type_copy_marshal:
v = rb_marshal_load(b->v);
RB_GC_GUARD(b->v);
break;
case basket_type_exception:
{