mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-27 17:19:19 -05:00
Fix modrdn / delOldRDN leaving empty mods
This commit is contained in:
parent
b4b0f388cb
commit
ce356b27b1
1 changed files with 6 additions and 0 deletions
|
|
@ -2321,6 +2321,12 @@ retry_add:;
|
|||
break;
|
||||
}
|
||||
}
|
||||
if ( !mod->sml_numvals ) {
|
||||
/* Drop this op */
|
||||
*ml = mod->sml_next;
|
||||
mod->sml_next = NULL;
|
||||
slap_mods_free( mod, 1 );
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue