[ruby-cvs:56240] normal:r49090 (trunk): symbol.c: fix memory leak from global fstr hash

normal at ruby-lang.org normal at ruby-lang.org
Thu Jan 1 11:18:42 JST 2015


normal	2015-01-01 11:18:40 +0900 (Thu, 01 Jan 2015)

  New Revision: 49090

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

  Log:
    symbol.c: fix memory leak from global fstr hash
    
    * symbol.c (rb_gc_free_dsymbol): delete from global fstr hash
    * test/ruby/test_symbol.rb (test_symbol_fstr_leak): test for bug
      [ruby-core:67268] [Bug #10686]

  Modified files:
    trunk/ChangeLog
    trunk/symbol.c
    trunk/test/ruby/test_symbol.rb


More information about the ruby-cvs mailing list