diff options
| author | Aaron Patterson <tenderlove@ruby-lang.org> | 2021-03-23 12:02:27 -0700 |
|---|---|---|
| committer | Aaron Patterson <aaron.patterson@gmail.com> | 2021-03-23 13:10:25 -0700 |
| commit | 417c648f084713e2d6fd8d6d267a7114b711ba70 (patch) | |
| tree | a3a7732dc3055ff988af7dedd7baf93129ba6d5d /spec/ruby/library/csv/stringreader | |
| parent | 607aa11711a7975540e1d71c2616ae5533feb35a (diff) | |
Free iv index table
IV index tables weren't being freed. This program would leak memory:
```ruby
loop do
k = Class.new do
def initialize
@a = 1
@b = 1
@c = 1
@d = 1
@e = 1
@f = 1
@g = 1
end
end
k.new
end
```
This commit fixes the leak.
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/4314
Diffstat (limited to 'spec/ruby/library/csv/stringreader')
0 files changed, 0 insertions, 0 deletions
