silence valgrind

This commit is contained in:
Pierangelo Masarati 2010-12-30 21:52:09 +00:00
parent ce4f5abb6e
commit 41aa82350e

View file

@ -249,7 +249,7 @@ vc_exop(
} else {
void *thrctx;
conn = (vc_conn_t *)SLAP_MALLOC( sizeof( vc_conn_t ) );
conn = (vc_conn_t *)SLAP_CALLOC( 1, sizeof( vc_conn_t ) );
conn->refcnt = 1;
thrctx = ldap_pvt_thread_pool_context();