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

nobu at ruby-lang.org nobu at ruby-lang.org
Wed Jun 25 22:31:35 JST 2014


nobu	2014-06-25 22:31:34 +0900 (Wed, 25 Jun 2014)

  New Revision: 46550

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

  Log:
    hash.c: fix memory leak
    
    * hash.c (ruby_setenv): fix memory leak on Windows, free
      environment strings block after check for the size.
      [ruby-dev:48323] [Bug #9977]

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


More information about the ruby-cvs mailing list