[ruby-cvs:53703] nobu:r46557 (trunk): hash.c: fix memory leak

nobu at ruby-lang.org nobu at ruby-lang.org
Thu Jun 26 08:28:04 JST 2014


nobu	2014-06-26 08:28:04 +0900 (Thu, 26 Jun 2014)

  New Revision: 46557

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=46557

  Log:
    hash.c: fix memory leak
    
    * hash.c (env_select): fix memory leak and crash on Windows, make
      keys array first instead of iterating on envrion directly.
      [ruby-dev:48325] [Bug #9978]

  Modified files:
    trunk/ChangeLog
    trunk/hash.c
    trunk/test/ruby/test_env.rb


More information about the ruby-cvs mailing list