From 8c8dc01d440d21411a876c6bbf43cc66a64b3407 Mon Sep 17 00:00:00 2001 From: Justin Ethier Date: Tue, 20 Dec 2016 05:42:31 -0500 Subject: [PATCH] Call pthread_attr_destroy to free up resources --- runtime.c | 1 + 1 file changed, 1 insertion(+) diff --git a/runtime.c b/runtime.c index 8b0e5084..5cb1205b 100644 --- a/runtime.c +++ b/runtime.c @@ -4772,6 +4772,7 @@ to look at the lock-free structures provided by ck? fprintf(stderr, "Error creating a new thread\n"); exit(1); } + pthread_attr_destroy(&attr); return boolean_t; }