mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-05-28 04:35:57 -04:00
destroy thread attr after create.
This commit is contained in:
parent
5da989414f
commit
72e4d5c18d
1 changed files with 1 additions and 0 deletions
|
|
@ -113,6 +113,7 @@ ldap_pvt_thread_create( ldap_pvt_thread_t * thread,
|
|||
(void) pthread_detach( *thread );
|
||||
}
|
||||
#endif
|
||||
pthread_attr_destroy(&attr);
|
||||
|
||||
#else
|
||||
rtn = pthread_create( thread, LDAP_INT_THREAD_ATTR_DEFAULT,
|
||||
|
|
|
|||
Loading…
Reference in a new issue