summaryrefslogtreecommitdiff
path: root/source4/dsdb/kcc
diff options
context:
space:
mode:
Diffstat (limited to 'source4/dsdb/kcc')
-rw-r--r--source4/dsdb/kcc/kcc_topology.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/dsdb/kcc/kcc_topology.c b/source4/dsdb/kcc/kcc_topology.c
index 43685ecb8e4..cd4dcc55495 100644
--- a/source4/dsdb/kcc/kcc_topology.c
+++ b/source4/dsdb/kcc/kcc_topology.c
@@ -496,7 +496,7 @@ static NTSTATUS kcctpl_create_graph(TALLOC_CTX *mem_ctx,
struct GUID_list guids,
struct kcctpl_graph **_graph)
{
- struct kcctpl_graph *graph;
+ struct kcctpl_graph *graph = NULL;
uint32_t i;
graph = talloc_zero(mem_ctx, struct kcctpl_graph);
@@ -3470,7 +3470,7 @@ static NTSTATUS kcctpl_create_intersite_connections(struct kccsrv_service *servi
struct ldb_message *cross_ref;
unsigned int cr_enabled;
int64_t cr_flags;
- struct kcctpl_graph *graph;
+ struct kcctpl_graph *graph = NULL;
bool found_failed_dc, connected;
NTSTATUS status;