mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-06 10:46:21 +08:00
fix build with thread debugging
This commit is contained in:
parent
c148b2381e
commit
4f351fbd90
@ -1265,7 +1265,7 @@ void *ldap_pvt_sasl_mutex_new(void)
|
||||
{
|
||||
ldap_pvt_thread_mutex_t *mutex;
|
||||
|
||||
mutex = (ldap_pvt_thread_mutex_t *) LDAP_MALLOC(
|
||||
mutex = (ldap_pvt_thread_mutex_t *) LDAP_CALLOC( 1,
|
||||
sizeof(ldap_pvt_thread_mutex_t) );
|
||||
|
||||
if ( ldap_pvt_thread_mutex_init( mutex ) == 0 ) {
|
||||
|
Loading…
Reference in New Issue
Block a user