mruby/mruby — pull request #2389 by ksss (2014-06-11 14:55:35+00:00)
Title: Fix memory leaks in String

`String#replace` and `String#clear` have memory leaks bug when self was shared string.

And `String#clear` can to be simple by use fixed `String#replace`.