mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-03-07 14:18:15 +08:00
More for ITS#5326 - don't free ora_e->e_name if same as o_req_dn
This commit is contained in:
parent
b8022be3e6
commit
650ced22c8
@ -305,7 +305,8 @@ retry: /* transaction retry */
|
||||
dnRdn( &op->ora_e->e_name, &rdn );
|
||||
|
||||
build_new_dn( &newdn, &p->e_name, &rdn, NULL );
|
||||
ber_memfree( op->ora_e->e_name.bv_val );
|
||||
if ( op->ora_e->e_name.bv_val != op->o_req_dn.bv_val )
|
||||
ber_memfree( op->ora_e->e_name.bv_val );
|
||||
op->ora_e->e_name = newdn;
|
||||
|
||||
/* FIXME: should check whether
|
||||
|
Loading…
Reference in New Issue
Block a user