diff options
Diffstat (limited to 'thread_pthread.c')
-rw-r--r-- | thread_pthread.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/thread_pthread.c b/thread_pthread.c index 1688d3d0df..afef326898 100644 --- a/thread_pthread.c +++ b/thread_pthread.c @@ -1243,6 +1243,7 @@ rb_thread_create_timer_thread(void) fprintf(stderr, "[FATAL] Failed to create timer thread (errno: %d)\n", err); exit(EXIT_FAILURE); } + pthread_attr_destroy(&attr); } } |