From: Pierangelo Masarati Date: Mon, 14 Nov 2005 23:14:31 +0000 (+0000) Subject: valgrind keeps complaining (it makes sense) but the bus error problem disappeared X-Git-Tag: OPENLDAP_REL_ENG_2_2_MP~11 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=4dcccd3ca27ae0fbd38edb5187e0c4e260d61001;p=openldap valgrind keeps complaining (it makes sense) but the bus error problem disappeared --- diff --git a/servers/slapd/connection.c b/servers/slapd/connection.c index 54bd488a9f..c2be214f59 100644 --- a/servers/slapd/connection.c +++ b/servers/slapd/connection.c @@ -2055,6 +2055,8 @@ static int connection_bind_cb( Operation *op, SlapReply *rs ) ldap_pvt_thread_mutex_unlock( &op->o_conn->c_mutex ); ch_free( cb ); + op->o_callback = NULL; + return SLAP_CB_CONTINUE; }