summaryrefslogtreecommitdiff
path: root/source3/librpc/gen_ndr/srv_srvsvc.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/librpc/gen_ndr/srv_srvsvc.c')
-rw-r--r--source3/librpc/gen_ndr/srv_srvsvc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/librpc/gen_ndr/srv_srvsvc.c b/source3/librpc/gen_ndr/srv_srvsvc.c
index 13619d46e3..1bbf67995b 100644
--- a/source3/librpc/gen_ndr/srv_srvsvc.c
+++ b/source3/librpc/gen_ndr/srv_srvsvc.c
@@ -3067,7 +3067,7 @@ static bool api_srvsvc_NetGetFileSecurity(pipes_struct *p)
}
ZERO_STRUCT(r->out);
- r->out.sd_buf = talloc_zero(r, struct sec_desc_buf);
+ r->out.sd_buf = talloc_zero(r, struct sec_desc_buf *);
if (r->out.sd_buf == NULL) {
talloc_free(r);
return false;