diff options
Diffstat (limited to 'source4/utils')
-rw-r--r-- | source4/utils/setntacl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/utils/setntacl.c b/source4/utils/setntacl.c index cd9f262e12..0535c3037e 100644 --- a/source4/utils/setntacl.c +++ b/source4/utils/setntacl.c @@ -75,7 +75,7 @@ static void setntacl(char *filename, struct security_descriptor *sd) fgets(line, sizeof(line), stdin); sd->group_sid = dom_sid_parse_talloc(mem_ctx, line); - acl = talloc(mem_ctx, sizeof(struct security_acl)); + acl = talloc_p(mem_ctx, struct security_acl); acl->revision = 2; acl->size = 0; |