diff options
| author | nagachika <nagachika@ruby-lang.org> | 2021-11-06 16:47:07 +0900 |
|---|---|---|
| committer | nagachika <nagachika@ruby-lang.org> | 2021-11-06 16:47:07 +0900 |
| commit | 75e74993916e9abda1a74164fed5b59fc3d9b7ce (patch) | |
| tree | 2e05e007488235b8571b61589f391493a0b877cf /ruby_assert.h | |
| parent | b1696c87d31d30a64c93d7d4d9c948f383a9da11 (diff) | |
merge revision(s) a4d5ee4f31bf3ff36c1a8c8fe3cda16aa1016b12: [Backport #18264]
[Bug #18264] Fix memory leak in TracePoint
TracePoint leaks memory because it allocates a `rb_tp_t` struct
without ever freeing it (it is created with `RUBY_TYPED_NEVER_FREE`).
---
test/ruby/test_settracefunc.rb | 10 ++++++++++
vm_trace.c | 2 +-
2 files changed, 11 insertions(+), 1 deletion(-)
Diffstat (limited to 'ruby_assert.h')
0 files changed, 0 insertions, 0 deletions
