ruby/ruby — pull request #78 by funny-falcon (2012-01-08 15:00:17+00:00)
Title: Make ruby workable with CALC_EXACT_MALLOC_SIZE set to 1

Fix inconsistent usage of xmalloc/xfree and malloc/free in ruby-trunk.
Errors founded with CALC_EXACT_MALLOC_SIZE set to 1.
`make check` now works on Ubuntu 11.04 without crashes and has exactly same failures as ruby-trunk.

Didn't test Windows related libraries.

Patch reverts Oniguruma to use ruby_xmalloc and ruby_xfree. I did not test how it affects performance.