summaryrefslogtreecommitdiffhomepage
path: root/mrblib/array.rb
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2018-10-29 11:51:04 +0900
committerYukihiro "Matz" Matsumoto <[email protected]>2018-10-29 11:51:04 +0900
commitdffa203d07aaeec4ea65669542a8ec2033559bdd (patch)
tree4f11e5e900d8b787659e58fe0198ebf5d0a3a755 /mrblib/array.rb
parent7ff84789c3f77f0d61441f9afb22a1039ea7cc4a (diff)
downloadmruby-dffa203d07aaeec4ea65669542a8ec2033559bdd.tar.gz
mruby-dffa203d07aaeec4ea65669542a8ec2033559bdd.zip
Need to mark shared env objects as `MRB_TT_FREE`; fix #4143
The following code mistakenly exits from the function without marking the env object as `MRB_TT_FREE`. ``` ruby if (MRB_ENV_STACK_SHARED_P(e)) { /* cannot be freed */ return; // <- should be `break` } ```
Diffstat (limited to 'mrblib/array.rb')
0 files changed, 0 insertions, 0 deletions