[ruby-cvs:57820] nobu:r50672 (trunk): psych: allocate structs with wrapper

nobu at ruby-lang.org nobu at ruby-lang.org
Fri May 29 14:44:01 JST 2015


nobu	2015-05-29 14:44:01 +0900 (Fri, 29 May 2015)

  New Revision: 50672

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

  Log:
    psych: allocate structs with wrapper
    
    * ext/psych/psych_emitter.c (allocate): allocate structs with
      making new wrapper objects and get rid of potential memory leak.
    
    * ext/psych/psych_parser.c (allocate): ditto.

  Modified files:
    trunk/ext/psych/psych_emitter.c
    trunk/ext/psych/psych_parser.c


More information about the ruby-cvs mailing list