mirror of
https://github.com/ruby/ruby.git
synced 2026-01-29 05:24:23 +00:00
RUBY_TYPED_DEFAULT_FREE will only free the rand_loop_t, but it will cause the buf to be leaked. This commit fixes the memory leak by implementing a free function for the rand_loop_t type.