diff options
Diffstat (limited to 'thread_sync.c')
-rw-r--r-- | thread_sync.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/thread_sync.c b/thread_sync.c index 673ed60aff..091246a7ad 100644 --- a/thread_sync.c +++ b/thread_sync.c @@ -68,7 +68,7 @@ mutex_free(void *ptr) static size_t mutex_memsize(const void *ptr) { - return ptr ? sizeof(rb_mutex_t) : 0; + return sizeof(rb_mutex_t); } static const rb_data_type_t mutex_data_type = { |