diff options
| author | Peter Zhu <peter@peterzhu.ca> | 2023-12-13 14:25:19 -0500 |
|---|---|---|
| committer | Peter Zhu <peter@peterzhu.ca> | 2023-12-14 08:52:32 -0500 |
| commit | 912016f626fab3e79e3ef8d9da53d1b148c8b5bf (patch) | |
| tree | d8f3453b3783530fe0b80693c5b6a361bf1b42d9 /test/ruby | |
| parent | e3631277c37861d5e99fbefd8bd3eeefc0120825 (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
