mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-03 13:40:37 -05:00
further improve previous fix
This commit is contained in:
parent
914f47f253
commit
7d958d9773
1 changed files with 2 additions and 1 deletions
|
|
@ -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 a new issue