summaryrefslogtreecommitdiff
path: root/test/ruby
diff options
context:
space:
mode:
authorPeter Zhu <peter@peterzhu.ca>2023-12-13 14:25:19 -0500
committerPeter Zhu <peter@peterzhu.ca>2023-12-14 08:52:32 -0500
commit912016f626fab3e79e3ef8d9da53d1b148c8b5bf (patch)
treed8f3453b3783530fe0b80693c5b6a361bf1b42d9 /test/ruby
parente3631277c37861d5e99fbefd8bd3eeefc0120825 (diff)
Call obj_free for T_DATA, T_FILE objects on exit
Previously, T_DATA and T_FILE objects did not have their instance variables freed on exit which would be reported as a memory leak with RUBY_FREE_ON_EXIT. This commit changes it to use obj_free which also frees the generic instance variables. Co-authored-by: Alan Wu <XrXr@users.noreply.github.com>
Diffstat (limited to 'test/ruby')
0 files changed, 0 insertions, 0 deletions