mirror of
https://github.com/justinethier/cyclone.git
synced 2025-07-08 13:37:33 +02:00
Call pthread_attr_destroy to free up resources
This commit is contained in:
parent
27f7ceab7d
commit
8c8dc01d44
1 changed files with 1 additions and 0 deletions
|
@ -4772,6 +4772,7 @@ to look at the lock-free structures provided by ck?
|
||||||
fprintf(stderr, "Error creating a new thread\n");
|
fprintf(stderr, "Error creating a new thread\n");
|
||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
|
pthread_attr_destroy(&attr);
|
||||||
return boolean_t;
|
return boolean_t;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue