Fixed memory leak in Ruby PRNG