Commit 8018892b authored by Herb Lewis's avatar Herb Lewis Committed by Gerald (Jerry) Carter
Browse files

r1103: need to leave empty dacl so we can remove last ACE

(This used to be commit d8a545368c8111fddcfdd423c4d6fcbab65e96d6)
parent b76daee9
Loading
Loading
Loading
Loading
+0 −5
Original line number Diff line number Diff line
@@ -624,11 +624,6 @@ static int cacl_set(struct cli_state *cli, char *filename,
						old->dacl->ace[k] = old->dacl->ace[k+1];
					}
					old->dacl->num_aces--;
					if (old->dacl->num_aces == 0) {
						SAFE_FREE(old->dacl->ace);
						SAFE_FREE(old->dacl);
						old->off_dacl = 0;
					}
					found = True;
					break;
				}