diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-06-21 07:38:16 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-06-21 07:38:16 +0000 |
commit | 3a6bb56029c3890d39577b96179a9f869e7cef84 (patch) | |
tree | cfb7d1981564e332457f9e187f07794e2a37c798 /safe.c | |
parent | 82727299777de8f218d3d8c258650d6c7d4098a4 (diff) | |
download | ruby-3a6bb56029c3890d39577b96179a9f869e7cef84.tar.gz |
Fix garbage allocation
* string.c (rb_str_casemap): do not put code with side effects
inside RSTRING_PTR() macro which evaluates the argument multiple
times.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55481 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'safe.c')
0 files changed, 0 insertions, 0 deletions