summaryrefslogtreecommitdiff
path: root/source3/librpc/gen_ndr/srv_dfs.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/librpc/gen_ndr/srv_dfs.c')
-rw-r--r--source3/librpc/gen_ndr/srv_dfs.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/librpc/gen_ndr/srv_dfs.c b/source3/librpc/gen_ndr/srv_dfs.c
index bd4503248d..bb27ab021f 100644
--- a/source3/librpc/gen_ndr/srv_dfs.c
+++ b/source3/librpc/gen_ndr/srv_dfs.c
@@ -31,6 +31,7 @@ static BOOL api_dfs_GetManagerVersion(pipes_struct *p)
return False;
}
+ ZERO_STRUCT(r.out);
r.out.exist_flag = talloc_size(mem_ctx, sizeof(*r.out.exist_flag));
if (r.out.exist_flag == NULL) {
talloc_free(mem_ctx);
@@ -237,6 +238,7 @@ static BOOL api_dfs_GetInfo(pipes_struct *p)
return False;
}
+ ZERO_STRUCT(r.out);
r.out.info = talloc_size(mem_ctx, sizeof(*r.out.info));
if (r.out.info == NULL) {
talloc_free(mem_ctx);
@@ -293,6 +295,7 @@ static BOOL api_dfs_Enum(pipes_struct *p)
return False;
}
+ ZERO_STRUCT(r.out);
r.out.info = r.in.info;
r.out.total = r.in.total;
r.out.result = _dfs_Enum(p, r.in.level, r.in.bufsize, r.in.info, r.in.unknown, r.in.total);
@@ -1095,6 +1098,7 @@ static BOOL api_dfs_EnumEx(pipes_struct *p)
return False;
}
+ ZERO_STRUCT(r.out);
r.out.info = r.in.info;
r.out.total = r.in.total;
r.out.result = _dfs_EnumEx(p, r.in.name, r.in.level, r.in.bufsize, r.in.info, r.in.total);