Skip to content

Commit

Permalink
dfs_server: Don't allocate a subcontext twice.
Browse files Browse the repository at this point in the history
Signed-off-by: Andreas Schneider <[email protected]>
Reviewed-by: Guenther Deschner <[email protected]>

Autobuild-User(master): Günther Deschner <[email protected]>
Autobuild-Date(master): Wed Dec 12 11:28:39 CET 2012 on sn-devel-104
  • Loading branch information
cryptomilk authored and gd committed Dec 12, 2012
1 parent ac434c4 commit 014512f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dfs_server/dfs_server_ad.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 014512f

Please sign in to comment.