[ruby-cvs:50105] nobu:r42963 (trunk): proc.c: allocate wrapper object first

nobu at ruby-lang.org nobu at ruby-lang.org
Wed Sep 18 16:32:18 JST 2013


nobu	2013-09-18 16:32:17 +0900 (Wed, 18 Sep 2013)

  New Revision: 42963

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

  Log:
    proc.c: allocate wrapper object first
    
    * proc.c (mnew_from_me): allocate structs after allocated wrapper
      object successfully, to get rid of potential memory leak.

  Modified files:
    trunk/ChangeLog
    trunk/proc.c


More information about the ruby-cvs mailing list