mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-23 16:19:35 -05: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
1 changed files with 2 additions and 1 deletions
|
|
@ -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 a new issue