[ruby-cvs:57655] nobu:r50507 (trunk): proc.c: rb_proc_alloc

nobu at ruby-lang.org nobu at ruby-lang.org
Sat May 16 21:21:25 JST 2015


nobu	2015-05-16 21:21:25 +0900 (Sat, 16 May 2015)

  New Revision: 50507

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

  Log:
    proc.c: rb_proc_alloc
    
    * proc.c (rb_proc_alloc, proc_dup): allocate rb_proc_t instead of
      wrapping to get rid of potential memory leak.
    
    * vm.c (rb_proc_create): ditto.

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


More information about the ruby-cvs mailing list