[ruby-cvs:54520] nobu:r47372 (trunk): object.c: fix memory leak

nobu at ruby-lang.org nobu at ruby-lang.org
Wed Sep 3 16:56:10 JST 2014


nobu	2014-09-03 16:56:09 +0900 (Wed, 03 Sep 2014)

  New Revision: 47372

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

  Log:
    object.c: fix memory leak
    
    * object.c (rb_obj_copy_ivar): allocate no memory for empty
      instance variables.  [ruby-core:64700] [Bug #10191]

  Modified files:
    trunk/ChangeLog
    trunk/object.c
    trunk/test/ruby/test_object.rb


More information about the ruby-cvs mailing list