Commit bb61ccd9 authored by Quanah Gibson-Mount's avatar Quanah Gibson-Mount
Browse files

use realloc

parent bd8c12ee
......@@ -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 );
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment