From: Pierangelo Masarati Date: Sat, 18 Jun 2005 18:57:46 +0000 (+0000) Subject: cleanup X-Git-Tag: OPENLDAP_AC_BP~512 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=595d41b4211098617cb3d770f54d73c04b4731c1;p=openldap cleanup --- diff --git a/servers/slapd/back-meta/conn.c b/servers/slapd/back-meta/conn.c index 587bd15d98..7a325905fb 100644 --- a/servers/slapd/back-meta/conn.c +++ b/servers/slapd/back-meta/conn.c @@ -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,