From: Pierangelo Masarati Date: Sun, 5 Nov 2006 09:22:53 +0000 (+0000) Subject: fix build with thread debugging X-Git-Tag: OPENLDAP_REL_ENG_2_3_MP~12 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=4f351fbd905c3908e028a7456501dfed470c8e5b;p=openldap fix build with thread debugging --- diff --git a/libraries/libldap/cyrus.c b/libraries/libldap/cyrus.c index 52ade28cac..7ffc8007ba 100644 --- a/libraries/libldap/cyrus.c +++ b/libraries/libldap/cyrus.c @@ -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 ) {