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 38f968e5a1..eff3d81368 100644 --- a/thread_pthread.c +++ b/thread_pthread.c @@ -1246,6 +1246,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); } rb_disable_interrupt(); /* only timer thread recieve signal */ |