appnair,
thank you for suggestion, but i have no time to write to support so i dicedided to implement quick-fix:
LLSTATUS f(){
LL_SessionAllocEx( &session, server, port, "", login, password, NULL);
if (session != NULL){
LL_SessionFree( session );
}
}
void g(){...