diff options
author | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-11-19 01:20:04 +0000 |
---|---|---|
committer | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-11-19 01:20:04 +0000 |
commit | 3827ce9d81ba774467f4556958e3e045e392b6ab (patch) | |
tree | 4d1322071e35b06a94a163aaeec8d655808c53ff /vm_eval.c | |
parent | d6ea8d18f9ffb76aa3541087e55e90c030295129 (diff) |
merge revision(s) 48417: [Backport #10509]
* vm_eval.c (rb_yield_splat): add missing GC guard
[Bug #10509]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@48491 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm_eval.c')
-rw-r--r-- | vm_eval.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -977,6 +977,7 @@ rb_yield_splat(VALUE values) rb_raise(rb_eArgError, "not an array"); } v = rb_yield_0(RARRAY_LENINT(tmp), RARRAY_PTR(tmp)); + RB_GC_GUARD(tmp); return v; } |