diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-09-02 04:14:42 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-09-02 04:14:42 +0000 |
commit | 02f0acb1936c9938d9557cf13f8ff5a0657bb103 (patch) | |
tree | 068eeb3a467a440af750a9c1b71d809d60ca2dd7 /file.c | |
parent | dcb13d2352dfbe3070ac9f3875bb9a0d7b5f6ce8 (diff) | |
download | ruby-02f0acb1936c9938d9557cf13f8ff5a0657bb103.tar.gz |
win32: use ALLOCV
* win32/file.c (rb_readlink): use ALLOCV to get rid potential
memory leak by NoMemoryError in ALLOCV.
* win32/win32.c (w32_readlink): allocate WCHAR path name and
reparse buffer together.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51737 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'file.c')
0 files changed, 0 insertions, 0 deletions