From e3276b3ab369207ae88fdd78fbb42d34f0b83f3d Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Thu, 4 Nov 2010 13:32:06 +0100 Subject: s4:dsdb/kcc: fix memory leak in kcctpl_copy_output_edges() metze --- source4/dsdb/kcc/kcc_topology.c | 1 + 1 file changed, 1 insertion(+) 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; } -- cgit