diff options
Diffstat (limited to 'vm_trace.c')
-rw-r--r-- | vm_trace.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/vm_trace.c b/vm_trace.c index 2371846580..77af93b7bf 100644 --- a/vm_trace.c +++ b/vm_trace.c @@ -621,12 +621,6 @@ tp_mark(void *ptr) } } -static void -tp_free(void *ptr) -{ - /* do nothing */ -} - static size_t tp_memsize(const void *ptr) { @@ -635,7 +629,7 @@ tp_memsize(const void *ptr) static const rb_data_type_t tp_data_type = { "tracepoint", - {tp_mark, tp_free, tp_memsize,}, + {tp_mark, RUBY_TYPED_NEVER_FREE, tp_memsize,}, }; static VALUE |