mruby/mruby — pull request #337 by masamitsu-murase (2012-06-30 13:17:40+00:00)
Title: Fix str_replace in string.c

Fix some bugs of str_replace in string.c
* Increment refcnt of shared string.
* Free buffer before replacing.
* Clear MRB_STR_SHARED after decref is called.
* Fix target of aux.capa.