diff options
| author | normal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-03-17 01:24:06 +0000 |
|---|---|---|
| committer | normal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-03-17 01:24:06 +0000 |
| commit | 3e6fe414d80dacb88bbaf11853db03a44e5d024c (patch) | |
| tree | b79ad1d8d2dd55ed35f0e6ada12e7abba273193c /test/ruby/test_array.rb | |
| parent | 2be728c45f38aba8473e4c2905709cc1d559aeb2 (diff) | |
variable.c: avoid memory leak on const redefinition
* variable.c (rb_const_set): delete existing entry on redefinition
[Bug #9645]
* test/ruby/test_const.rb (test_redefinition): test for leak
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45350 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby/test_array.rb')
0 files changed, 0 insertions, 0 deletions
