diff options
author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-07-17 06:24:22 +0000 |
---|---|---|
committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-07-17 06:24:22 +0000 |
commit | fa014681d53931c7f81489f94e141257f3da5693 (patch) | |
tree | 3e1a2de5bfb7bc23adcfb7cb110c93e5b3e28df7 /bin/rake | |
parent | 79d9c8ac72f7559d02870eebe34a9e65d6715fae (diff) | |
download | ruby-fa014681d53931c7f81489f94e141257f3da5693.tar.gz |
* gc.c (unlink_heap_slot): fix memory leak.
free slot itself at free_heap_slot().
Reproduce-able code is here:
N1 = 100_000; N2 = 1_000_000
N1.times{ary = []; N2.times{ary << ''}}
Maybe this problem is remaining in Ruby 2.0.0.
* gc.c (unlink_heap_slot): remove not working code.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42022 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'bin/rake')
0 files changed, 0 insertions, 0 deletions