diff options
author | Andreas Schneider <asn@samba.org> | 2012-12-06 14:37:21 +0100 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2012-12-12 11:28:39 +0100 |
commit | 014512f56478152972c7cae75e872a48ea18c91d (patch) | |
tree | 1f55cf1a3cbdf3c8c7ecb791af42503a151358c2 | |
parent | ac434c4223ba7a7cbbd97a59e305445a22a32c76 (diff) | |
download | samba-014512f56478152972c7cae75e872a48ea18c91d.tar.gz samba-014512f56478152972c7cae75e872a48ea18c91d.tar.bz2 samba-014512f56478152972c7cae75e872a48ea18c91d.zip |
dfs_server: Don't allocate a subcontext twice.
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
Autobuild-User(master): Günther Deschner <gd@samba.org>
Autobuild-Date(master): Wed Dec 12 11:28:39 CET 2012 on sn-devel-104
-rw-r--r-- | dfs_server/dfs_server_ad.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |