diff options
author | Kazuki Yamaguchi <k@rhe.jp> | 2021-02-25 15:52:27 +0900 |
---|---|---|
committer | Koichi Sasada <ko1@atdot.net> | 2021-10-27 15:44:27 +0900 |
commit | 9541b3b7c07eeca437857bb5430dbc68d3c04858 (patch) | |
tree | d79409492741da7e924bae19725650fc3fb4947f /vm_insnhelper.c | |
parent | ed5f8eaf490fee0b186496b82519c5be29ec7e8f (diff) |
random.c: simplify Random object deallocation
This is a follow-up for commit 265c0022390e ("Do not allocate
ractor-local storage in dfree function during GC", 2021-02-09).
The comparison with the default rb_random_mt_t is useless in the first
place, since it is never equal: no actual Random object is associated
with it.
[Bug #17653] https://bugs.ruby-lang.org/issues/17653
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/4224
Diffstat (limited to 'vm_insnhelper.c')
0 files changed, 0 insertions, 0 deletions