From 014512f56478152972c7cae75e872a48ea18c91d Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Thu, 6 Dec 2012 14:37:21 +0100 Subject: dfs_server: Don't allocate a subcontext twice. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Andreas Schneider Reviewed-by: Guenther Deschner Autobuild-User(master): Günther Deschner Autobuild-Date(master): Wed Dec 12 11:28:39 CET 2012 on sn-devel-104 --- dfs_server/dfs_server_ad.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dfs_server') diff --git a/dfs_server/dfs_server_ad.c b/dfs_server/dfs_server_ad.c index ceabe0576e..4d3891a774 100644 --- a/dfs_server/dfs_server_ad.c +++ b/dfs_server/dfs_server_ad.c @@ -278,7 +278,7 @@ static NTSTATUS get_dcs(TALLOC_CTX *ctx, struct ldb_context *ldb, int ret; uint32_t current_pos = 0; NTSTATUS status; - TALLOC_CTX *subctx = talloc_new(ctx); + TALLOC_CTX *subctx; *pset_list = set_list = NULL; -- cgit