diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-11-26 17:27:01 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-11-26 17:27:01 +0000 |
commit | 4760b9824fc4e6ce195249e7b1101bce714b12bd (patch) | |
tree | 14acbf8880bc0a74cc04bbef5c3a69a033c05cdf /ext/psych/lib/psych/stream.rb | |
parent | faaec02a2dbe20b83c9bd13a7b0a212fdb991a32 (diff) |
string.c: fix memsize of frozen shared string
* string.c (str_new4): copy the original capacity so that memsize of
frozen shared string returns correct size.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43862 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/psych/lib/psych/stream.rb')
0 files changed, 0 insertions, 0 deletions