diff --git a/servers/slapd/connection.c b/servers/slapd/connection.c index 6545091434..4d6ca69092 100644 --- a/servers/slapd/connection.c +++ b/servers/slapd/connection.c @@ -1984,6 +1984,7 @@ static int connection_bind_cb( Operation *op, SlapReply *rs ) op->o_conn->c_conn_state = SLAP_C_ACTIVE; ldap_pvt_thread_mutex_unlock( &op->o_conn->c_mutex ); + ch_free( cb ); return SLAP_CB_CONTINUE; }