diff options
author | mame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-11-09 01:32:11 +0000 |
---|---|---|
committer | mame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-11-09 01:32:11 +0000 |
commit | f09ad1dc5de28dd71cc92fd2de35f85a786ca112 (patch) | |
tree | 3a4f5ff73ef4b3fb3d81d4fa3fd28ff09dd9c50e /node.c | |
parent | 3ba9e6b639afaf4c88145d56c9bd6746af16cfb7 (diff) |
use `rb_ast_dispose` instead of `rb_ast_free`
`rb_ast_dispose` calls `rb_gc_writebarrier_remember`. Unless we call
it, the marked objects may not be GC'ed until `rb_ast_t` is GC'ed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60722 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'node.c')
0 files changed, 0 insertions, 0 deletions