summaryrefslogtreecommitdiffstats
path: root/libcli
diff options
context:
space:
mode:
Diffstat (limited to 'libcli')
-rw-r--r--libcli/security/security_descriptor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcli/security/security_descriptor.c b/libcli/security/security_descriptor.c
index 59d82b821e2..f18a326e997 100644
--- a/libcli/security/security_descriptor.c
+++ b/libcli/security/security_descriptor.c
@@ -373,7 +373,7 @@ static struct security_descriptor *security_descriptor_appendv(struct security_d
while ((sidstr = va_arg(ap, const char *))) {
struct dom_sid *sid;
- struct security_ace *ace = talloc(sd, struct security_ace);
+ struct security_ace *ace = talloc_zero(sd, struct security_ace);
NTSTATUS status;
if (ace == NULL) {