[ruby-cvs:52722] nobu:r45576 (trunk): string.c: clear env self in symbol proc

nobu at ruby-lang.org nobu at ruby-lang.org
Sat Apr 12 22:11:12 JST 2014


nobu	2014-04-12 22:11:11 +0900 (Sat, 12 Apr 2014)

  New Revision: 45576

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

  Log:
    string.c: clear env self in symbol proc
    
    * string.c (sym_to_proc), proc.c (rb_block_clear_env_self): clear
      caller's self which is useless, so that it can get collected.
      [Fixes GH-592]

  Modified files:
    trunk/ChangeLog
    trunk/internal.h
    trunk/proc.c
    trunk/string.c


More information about the ruby-cvs mailing list