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

Fix modrdn / delOldRDN leaving empty mods

parent f180ba8c
......@@ -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;
}
}
......
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