diff options
author | normal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-09-25 10:40:37 +0000 |
---|---|---|
committer | normal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-09-25 10:40:37 +0000 |
commit | 405c4abb9f382c935b04c48f22b51b3f3970f71a (patch) | |
tree | 806dd34e5204c012effe74cd4057fefcc7e09be8 /NEWS | |
parent | 39bb54d89c93e4e488fb13a375e9097eec5ad9a7 (diff) | |
download | ruby-405c4abb9f382c935b04c48f22b51b3f3970f71a.tar.gz |
io.c: common function to free IO buffers
This also allows easier tracking of freed memory for systems
without malloc_usable_size, and also makes future changes
to freeing buffer memory easier-to-implement.
* io.c (free_io_buffer): new function for a common pattern
(clear_readconv): use free_io_buffer
(rb_io_fptr_finalize): ditto
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47712 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'NEWS')
0 files changed, 0 insertions, 0 deletions