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 | 6bbd9104cbd1e1229a5c61a5e4498dc9b1a03239 (patch) | |
tree | 068eeb3a467a440af750a9c1b71d809d60ca2dd7 /debug.c | |
parent | 71f2c19a9c65d154b8651218ae260fc4a8152cc2 (diff) |
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 'debug.c')
0 files changed, 0 insertions, 0 deletions