[ruby-cvs:70574] normal:r63483 (trunk): load.c: use ruby_sized_xfree for calloc-ed RArray VALUE

normal at ruby-lang.org normal at ruby-lang.org
Tue May 22 06:40:54 JST 2018


normal	2018-05-22 06:40:54 +0900 (Tue, 22 May 2018)

  New Revision: 63483

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

  Log:
    load.c: use ruby_sized_xfree for calloc-ed RArray VALUE
    
    IMHO, this increases readability, too, since it's not
    immediately clear that the object is on the malloc heap
    and not a regular Ruby object.

  Modified files:
    trunk/load.c


More information about the ruby-cvs mailing list