Issue #4956 has been reported by Eric Wong.

----------------------------------------
Bug #4956: [PATCH] string.c (tr_s_bang): fix leak with heap strings
http://redmine.ruby-lang.org/issues/4956

Author: Eric Wong
Status: Open
Priority: Normal
Assignee: 
Category: core
Target version: 1.9.x
ruby -v: ruby 1.9.3dev (2011-07-01 trunk 32347) [x86_64-linux]


Trivially reproduced with:

    loop { "this string is too long to embed".tr_s!(" \t\r\n\f", " ") }

This also affects Ruby 1.9.2-p180


-- 
http://redmine.ruby-lang.org