]> git.sur5r.net Git - openldap/commitdiff
ITS#2382 use ch_calloc
authorHoward Chu <hyc@openldap.org>
Sun, 16 Mar 2003 12:34:40 +0000 (12:34 +0000)
committerHoward Chu <hyc@openldap.org>
Sun, 16 Mar 2003 12:34:40 +0000 (12:34 +0000)
servers/slapd/connection.c

index 20da8a2e5cbbf9d14e759e065178bc0d76e75797..005496fdd900e41143023b40ebf231bf92e066cb 100644 (file)
@@ -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