[ruby-cvs:57806] nobu:r50658 (trunk): tcltklib.c: allocate structs with wrapper

nobu at ruby-lang.org nobu at ruby-lang.org
Thu May 28 15:45:56 JST 2015


nobu	2015-05-28 15:45:55 +0900 (Thu, 28 May 2015)

  New Revision: 50658

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

  Log:
    tcltklib.c: allocate structs with wrapper
    
    * ext/tk/tcltklib.c (ip_create_slave_core): allocate structs with
      making new wrapper objects and get rid of potential memory leak.
    
    * ext/tk/tkutil/tkutil.c (allocate_cbsubst_info): ditto.

  Modified files:
    trunk/ext/tk/tcltklib.c
    trunk/ext/tk/tkutil/tkutil.c


More information about the ruby-cvs mailing list