Call pthread_attr_destroy to free up resources

This commit is contained in:
Justin Ethier 2016-12-20 05:42:31 -05:00
parent 27f7ceab7d
commit 8c8dc01d44

View file

@ -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;
}