From 339a891c7d9c56f27f10ed9a9e60f511f75da934 Mon Sep 17 00:00:00 2001 From: Aaron Patterson Date: Tue, 8 Oct 2019 13:15:44 -0700 Subject: [PATCH] Pin keys of this st_table --- compile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compile.c b/compile.c index 72b60c1144..a478324261 100644 --- a/compile.c +++ b/compile.c @@ -9039,7 +9039,7 @@ rb_iseq_build_from_ary(rb_iseq_t *iseq, VALUE misc, VALUE locals, VALUE params, unsigned int arg_size, local_size, stack_max; ID *tbl; struct st_table *labels_table = st_init_numtable(); - VALUE labels_wrapper = Data_Wrap_Struct(0, 0, st_free_table, labels_table); + VALUE labels_wrapper = Data_Wrap_Struct(0, rb_mark_set, st_free_table, labels_table); VALUE arg_opt_labels = rb_hash_aref(params, SYM(opt)); VALUE keywords = rb_hash_aref(params, SYM(keyword)); VALUE sym_arg_rest = ID2SYM(rb_intern("#arg_rest"));