diff options
| author | NAKAMURA Usaku <usa@ruby-lang.org> | 2021-11-24 19:31:43 +0900 |
|---|---|---|
| committer | NAKAMURA Usaku <usa@ruby-lang.org> | 2021-11-24 19:31:43 +0900 |
| commit | d55426f800546cbc3b333ae7ab98c1893f710612 (patch) | |
| tree | 50c11a748c866f15ababe694955d1eb2ea7fa60c /spec/ruby/shared/sizedqueue/max.rb | |
| parent | 0fd9588395294ac97a1f6dc3a51d4f19e84a6ba9 (diff) | |
merge revision(s) 5d815542815fe8b939239750bba7f8f0b79c97d6: [Backport #18154]
[Bug #18154] Fix memory leak in String#initialize
String#initialize can leak memory when called on a string that is marked
with STR_NOFREE because it does not unset the STR_NOFREE flag.
---
string.c | 2 +-
test/ruby/test_string.rb | 10 ++++++++++
2 files changed, 11 insertions(+), 1 deletion(-)
Diffstat (limited to 'spec/ruby/shared/sizedqueue/max.rb')
0 files changed, 0 insertions, 0 deletions
