mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-23 16:19:35 -05:00
don't leak massaged referral DN
This commit is contained in:
parent
e2b87791ac
commit
ac6b3e1415
1 changed files with 1 additions and 0 deletions
|
|
@ -674,6 +674,7 @@ ldap_back_referral_result_rewrite(
|
|||
|
||||
ludp->lud_dn = dn.bv_val;
|
||||
newurl = ldap_url_desc2str( ludp );
|
||||
free( dn.bv_val );
|
||||
if ( newurl == NULL ) {
|
||||
/* FIXME: leave attr untouched
|
||||
* even if ldap_url_desc2str failed...
|
||||
|
|
|
|||
Loading…
Reference in a new issue