mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-02-03 20:40:05 -05:00
More for NULL modrdn modlist
This commit is contained in:
parent
a1bf7f3ddc
commit
43d5d99494
1 changed files with 1 additions and 1 deletions
|
|
@ -1268,7 +1268,7 @@ bdb_cache_modrdn(
|
|||
/* If we've done repeated mods on a cached entry, then e_attrs
|
||||
* is no longer contiguous with the entry, and must be freed.
|
||||
*/
|
||||
if ( (void *)e->e_attrs != (void *)(e+1) ) {
|
||||
if ( (void *)e->e_attrs != (void *)(e+1) && e->e_attrs != new->e_attrs ) {
|
||||
attrs_free( e->e_attrs );
|
||||
}
|
||||
e->e_attrs = new->e_attrs;
|
||||
|
|
|
|||
Loading…
Reference in a new issue