diff options
Diffstat (limited to 'source3/librpc/gen_ndr/srv_wkssvc.c')
-rw-r--r-- | source3/librpc/gen_ndr/srv_wkssvc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/librpc/gen_ndr/srv_wkssvc.c b/source3/librpc/gen_ndr/srv_wkssvc.c index ddbf3aa373..da2279001d 100644 --- a/source3/librpc/gen_ndr/srv_wkssvc.c +++ b/source3/librpc/gen_ndr/srv_wkssvc.c @@ -1650,7 +1650,7 @@ static bool api_wkssvc_NetrGetJoinableOus(pipes_struct *p) ZERO_STRUCT(r->out); r->out.num_ous = r->in.num_ous; - r->out.ous = talloc_zero_array(r, const char **, *r->out.num_ous); + r->out.ous = talloc_zero(r, const char **); if (r->out.ous == NULL) { talloc_free(r); return false; @@ -2023,7 +2023,7 @@ static bool api_wkssvc_NetrGetJoinableOus2(pipes_struct *p) ZERO_STRUCT(r->out); r->out.num_ous = r->in.num_ous; - r->out.ous = talloc_zero_array(r, const char **, *r->out.num_ous); + r->out.ous = talloc_zero(r, const char **); if (r->out.ous == NULL) { talloc_free(r); return false; |