From 4f351fbd905c3908e028a7456501dfed470c8e5b Mon Sep 17 00:00:00 2001 From: Pierangelo Masarati Date: Sun, 5 Nov 2006 09:22:53 +0000 Subject: [PATCH] fix build with thread debugging --- libraries/libldap/cyrus.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ) { -- 2.39.5