ITS#10302 slapd-mdb: fix idcursor double-free in slapadd shutdown Caused when calling tool_entry_modify to update ctxcsn after all adds are done.