diff options
Diffstat (limited to 'source3/librpc/gen_ndr/srv_dfs.c')
-rw-r--r-- | source3/librpc/gen_ndr/srv_dfs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/librpc/gen_ndr/srv_dfs.c b/source3/librpc/gen_ndr/srv_dfs.c index a4da9fbe06..4c16201e9f 100644 --- a/source3/librpc/gen_ndr/srv_dfs.c +++ b/source3/librpc/gen_ndr/srv_dfs.c @@ -35,7 +35,7 @@ static BOOL api_dfs_GetManagerVersion(pipes_struct *p) NDR_PRINT_IN_DEBUG(dfs_GetManagerVersion, &r); ZERO_STRUCT(r.out); - r.out.exist_flag = talloc_size(mem_ctx, sizeof(*r.out.exist_flag)); + r.out.exist_flag = talloc_zero_size(mem_ctx, sizeof(*r.out.exist_flag)); if (r.out.exist_flag == NULL) { talloc_free(mem_ctx); return False; @@ -266,7 +266,7 @@ static BOOL api_dfs_GetInfo(pipes_struct *p) NDR_PRINT_IN_DEBUG(dfs_GetInfo, &r); ZERO_STRUCT(r.out); - r.out.info = talloc_size(mem_ctx, sizeof(*r.out.info)); + r.out.info = talloc_zero_size(mem_ctx, sizeof(*r.out.info)); if (r.out.info == NULL) { talloc_free(mem_ctx); return False; |