[ruby-cvs:70487] nobu:r63397 (trunk): fix potential memory leaks

nobu at ruby-lang.org nobu at ruby-lang.org
Fri May 11 22:01:36 JST 2018


nobu	2018-05-11 22:01:36 +0900 (Fri, 11 May 2018)

  New Revision: 63397

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

  Log:
    fix potential memory leaks
    
    * parse.y (primary, new_args_tail, local_tbl): keep the order;
      allocate an empty imemo first then xmalloc, to get rid of
      potential memory leak when allocation imemo failed.

  Modified files:
    trunk/parse.y


More information about the ruby-cvs mailing list