summaryrefslogtreecommitdiff
path: root/miniinit.c
diff options
context:
space:
mode:
authorPeter Zhu <[email protected]>2023-12-12 10:45:59 -0500
committerPeter Zhu <[email protected]>2023-12-13 10:39:06 -0500
commitf8ddcecbdf34b8d33ed4311b34d498d4ff380a3e (patch)
treee89f99d7dcb034f4aea9388c617580ab95cf6374 /miniinit.c
parent0d53dba7ce900387397610c060cfa24758fc806a (diff)
[Bug #20061] Clear mark bits when rb_free_on_exit
When compiling with cppflags=-DRGENGC_CHECK_MODE, the following crashes: ``` $ RUBY_FREE_ON_EXIT=1 ./miniruby -e 0 -e: [BUG] obj_free: RVALUE_MARKED(0x0000000103570020 [3LM ] T_CLASS (anon)) != FALSE ``` This commit clears the mark bits when rb_free_on_exit is enabled.
Diffstat (limited to 'miniinit.c')
0 files changed, 0 insertions, 0 deletions