From 4dcccd3ca27ae0fbd38edb5187e0c4e260d61001 Mon Sep 17 00:00:00 2001 From: Pierangelo Masarati Date: Mon, 14 Nov 2005 23:14:31 +0000 Subject: [PATCH] valgrind keeps complaining (it makes sense) but the bus error problem disappeared --- servers/slapd/connection.c | 2 ++ 1 file changed, 2 insertions(+) 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; }