mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-06 10:46:21 +08:00
use realloc
This commit is contained in:
parent
3d2583e533
commit
127c533853
@ -1137,14 +1137,13 @@ static int parseProxyAuthz (
|
||||
}
|
||||
|
||||
ch_free( op->o_ndn.bv_val );
|
||||
ch_free( op->o_dn.bv_val );
|
||||
|
||||
/*
|
||||
* NOTE: since slap_sasl_getdn() returns a normalized dn,
|
||||
* from now on op->o_dn is normalized
|
||||
*/
|
||||
op->o_ndn = dn;
|
||||
ber_dupbv( &op->o_dn, &dn );
|
||||
ber_bvreplace( &op->o_dn, &dn );
|
||||
|
||||
Statslog( LDAP_DEBUG_STATS, "%s PROXYAUTHZ dn=\"%s\"\n",
|
||||
op->o_log_prefix, dn.bv_val, 0, 0, 0 );
|
||||
|
Loading…
Reference in New Issue
Block a user