if( lc->lconn_rebind_queue != NULL) {
int i;
for( i = 0; lc->lconn_rebind_queue[i] != NULL; i++) {
- free_strarray(lc->lconn_rebind_queue[i]);
+ LDAP_VFREE(lc->lconn_rebind_queue[i]);
}
LDAP_FREE( lc->lconn_rebind_queue);
}
if( lc->lconn_rebind_queue != NULL) {
/* Release resources of previous list */
- free_strarray(refarray);
+ LDAP_VFREE(refarray);
refarray = NULL;
ldap_free_urllist(srv);
srv = NULL;
}
} /* end for loop */
done:
- free_strarray(refarray);
+ LDAP_VFREE(refarray);
ldap_free_urllist(srv);
LDAP_FREE( *errstrp );
*ports++ = '\0';
srv->lud_port = atoi( ports );
} else {
- srv->lud_port = ldap_int_global_options.ldo_defport;
+ srv->lud_port = (LDAP_INT_GLOBAL_OPT())->ldo_defport;
}
rinfo.ri_msgid = origreq->lr_origid;