mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-06 10:46:21 +08:00
further improve previous fix
This commit is contained in:
parent
914f47f253
commit
7d958d9773
@ -119,11 +119,12 @@ dnssrv_back_referrals(
|
||||
send_ldap_error( op, rs, LDAP_REFERRAL,
|
||||
"DNS SRV generated referrals" );
|
||||
rs->sr_ref = NULL;
|
||||
rc = LDAP_REFERRAL;
|
||||
|
||||
done:
|
||||
if( domain != NULL ) ch_free( domain );
|
||||
if( hostlist != NULL ) ch_free( hostlist );
|
||||
if( hosts != NULL ) ldap_charray_free( hosts );
|
||||
ber_bvarray_free( urls );
|
||||
return rs->sr_err;
|
||||
return rc;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user