Project

General

Profile

« Previous | Next » 

Revision 5c988df0

Added by normal about 7 years ago

string.c (rb_str_tmp_frozen_release): release embedded strings

Handle the embedded case first, since we may have an embedded
duplicate and non-embedded original string.

  • string.c (rb_str_tmp_frozen_release): handled embedded strings
  • test/ruby/test_io.rb (test_write_no_garbage): new test
    [ruby-core:78898] [Bug #13085]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57471 b2dd03c8-39d4-4d8f-98ff-823fe69b080e