diff --git a/servers/slapd/connection.c b/servers/slapd/connection.c index 20da8a2e5cbbf9d14e759e065178bc0d76e75797..005496fdd900e41143023b40ebf231bf92e066cb 100644 --- a/servers/slapd/connection.c +++ b/servers/slapd/connection.c @@ -88,7 +88,7 @@ int connections_init(void) /* should check return of every call */ ldap_pvt_thread_mutex_init( &connections_mutex ); - connections = (Connection *) calloc( dtblsize, sizeof(Connection) ); + connections = (Connection *) ch_calloc( dtblsize, sizeof(Connection) ); if( connections == NULL ) { #ifdef NEW_LOGGING