]> git.sur5r.net Git - openldap/commitdiff
valgrind keeps complaining (it makes sense) but the bus error problem disappeared
authorPierangelo Masarati <ando@openldap.org>
Mon, 14 Nov 2005 23:14:31 +0000 (23:14 +0000)
committerPierangelo Masarati <ando@openldap.org>
Mon, 14 Nov 2005 23:14:31 +0000 (23:14 +0000)
servers/slapd/connection.c

index 54bd488a9f399b3283ea5ccd25cef0d720a6606b..c2be214f59f3e442408da0b329610b34e6253723 100644 (file)
@@ -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;
 }