]> git.sur5r.net Git - openldap/commitdiff
cleanup
authorPierangelo Masarati <ando@openldap.org>
Sat, 18 Jun 2005 18:57:46 +0000 (18:57 +0000)
committerPierangelo Masarati <ando@openldap.org>
Sat, 18 Jun 2005 18:57:46 +0000 (18:57 +0000)
servers/slapd/back-meta/conn.c

index 587bd15d98bc38ed5f388d5ceb6d07eea0c5865f..7a325905fbe681c9e8fc0653526314f8477ab525 100644 (file)
@@ -533,7 +533,7 @@ meta_back_candidates_get( Operation *op )
        }
 
        if ( data == NULL ) {
-               data = ber_memalloc( sizeof( SlapReply ) * mi->mi_ntargets );
+               data = ch_calloc( sizeof( SlapReply ), mi->mi_ntargets );
                if ( op->o_threadctx ) {
                        ldap_pvt_thread_pool_setkey( op->o_threadctx,
                                        meta_back_candidate_keyfree, data,