[ruby-cvs:51253] nobu:r44108 (trunk): gc.c: check arguments first

nobu at ruby-lang.org nobu at ruby-lang.org
Tue Dec 10 14:17:20 JST 2013


nobu	2013-12-10 14:17:19 +0900 (Tue, 10 Dec 2013)

  New Revision: 44108

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

  Log:
    gc.c: check arguments first
    
    * gc.c (wmap_aset): check if both arguments are able to finalize
      before setting finalizers.

  Modified files:
    trunk/gc.c
    trunk/test/ruby/test_weakmap.rb


More information about the ruby-cvs mailing list