[ruby-cvs:57611] nobu:r50463 (trunk): proc.c, vm.c: fix possible memory leak

nobu at ruby-lang.org nobu at ruby-lang.org
Sun May 10 21:34:27 JST 2015


nobu	2015-05-10 21:34:26 +0900 (Sun, 10 May 2015)

  New Revision: 50463

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

  Log:
    proc.c, vm.c: fix possible memory leak
    
    * proc.c (proc_binding): fix possible memory leak of rb_env_t when
      TypedData_Wrap_Struct failed.
    
    * vm.c (vm_make_env_each): ditto.

  Modified files:
    trunk/proc.c
    trunk/vm.c


More information about the ruby-cvs mailing list