+ case CSSM_ACL_EDIT_MODE_DELETE: {
+ secinfo("SecAccess", "deleting ACL for %p (%ld) while preserving: %s", this, edit.handle(), preserveTag);
+ EntryMap::iterator it = findEntryHandle(edit.handle());
+ if (preserveTag && it->second.tag == preserveTag)
+ MacOSError::throwMe(CSSM_ERRCODE_OPERATION_AUTH_DENIED);
+
+ AclEntryPrototype proto;
+ it->second.toEntryInfo(proto, allocator);
+ secinfo("SecAccess", "subject type was %d", proto.TypedSubject.Head->WordID);
+ DataWalkers::chunkFree(proto, allocator);
+
+ mEntries.erase(it);