[ruby-cvs:57659] nobu:r50511 (trunk): allocate structs with wrapper

nobu at ruby-lang.org nobu at ruby-lang.org
Sat May 16 21:57:05 JST 2015


nobu	2015-05-16 21:56:48 +0900 (Sat, 16 May 2015)

  New Revision: 50511

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

  Log:
    allocate structs with wrapper
    
    * parse.y (rb_parser_new, ripper_s_allocate): allocate structs
      with making new wrapper objects and get rid of potential memory
      leak.
    
    * variable.c (rb_autoload): ditto.
    
    * ext/digest/digest.c (rb_digest_base_alloc): ditto.
    
    * ext/strscan/strscan.c (strscan_s_allocate): ditto.

  Modified files:
    trunk/ext/digest/digest.c
    trunk/ext/strscan/strscan.c
    trunk/parse.y
    trunk/variable.c


More information about the ruby-cvs mailing list