[ruby-cvs:57809] nobu:r50661 (trunk): generator.c: allocate structs with wrapper

nobu at ruby-lang.org nobu at ruby-lang.org
Thu May 28 16:17:57 JST 2015


nobu	2015-05-28 16:17:55 +0900 (Thu, 28 May 2015)

  New Revision: 50661

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

  Log:
    generator.c: allocate structs with wrapper
    
    * ext/json/generator/generator.c (cState_s_allocate): allocate
      structs with making new wrapper objects and get rid of potential
      memory leak.

  Modified files:
    trunk/ext/json/generator/generator.c
    trunk/ext/json/generator/generator.h
    trunk/test/json/test_json_generate.rb


More information about the ruby-cvs mailing list