Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix memory leak reported in -test-/random/loop.c
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.
- Loading branch information