summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2010-11-04 13:32:06 +0100
committerStefan Metzmacher <metze@samba.org>2010-11-04 17:13:01 +0100
commite3276b3ab369207ae88fdd78fbb42d34f0b83f3d (patch)
tree4dcb3e7ef39d8dbc92b8fb27854c99f3f1029369 /source4
parent8b71438490d51d44d9eceef26eaf141420ea60ec (diff)
downloadsamba-e3276b3ab369207ae88fdd78fbb42d34f0b83f3d.tar.gz
samba-e3276b3ab369207ae88fdd78fbb42d34f0b83f3d.tar.bz2
samba-e3276b3ab369207ae88fdd78fbb42d34f0b83f3d.zip
s4:dsdb/kcc: fix memory leak in kcctpl_copy_output_edges()
metze
Diffstat (limited to 'source4')
-rw-r--r--source4/dsdb/kcc/kcc_topology.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/dsdb/kcc/kcc_topology.c b/source4/dsdb/kcc/kcc_topology.c
index 51c09fd62f..c13e330625 100644
--- a/source4/dsdb/kcc/kcc_topology.c
+++ b/source4/dsdb/kcc/kcc_topology.c
@@ -1731,6 +1731,7 @@ static NTSTATUS kcctpl_copy_output_edges(struct kccsrv_service *service,
}
talloc_steal(mem_ctx, copy.data);
+ talloc_free(tmp_ctx);
*_copy = copy;
return NT_STATUS_OK;
}