[ruby-cvs:61688] nobu:r54526 (trunk): win32/file.c: fix free

nobu at ruby-lang.org nobu at ruby-lang.org
Sun Apr 10 16:30:42 JST 2016


nobu	2016-04-10 16:30:42 +0900 (Sun, 10 Apr 2016)

  New Revision: 54526

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

  Log:
    win32/file.c: fix free
    
    * win32/file.c (rb_file_expand_path_internal): should free wpath,
      but not xfree, corresponding to rb_w32_mbstr_to_wstr which
      allocates by malloc.

  Modified files:
    trunk/win32/file.c


More information about the ruby-cvs mailing list