From afe6e576b95fc3f08945b379ecb37f73ebceb16a Mon Sep 17 00:00:00 2001 From: Samuel Cabrero Date: Mon, 10 Nov 2014 16:06:45 +0100 Subject: [PATCH] s4:dsdb: Fix not freed temp memory context Signed-off-by: Samuel Cabrero Reviewed-by: Garming Sam Reviewed-by: Andrew Bartlett --- source4/dsdb/common/dsdb_dn.c | 1 + 1 file changed, 1 insertion(+) diff --git a/source4/dsdb/common/dsdb_dn.c b/source4/dsdb/common/dsdb_dn.c index ab427762261..ccfbe365089 100644 --- a/source4/dsdb/common/dsdb_dn.c +++ b/source4/dsdb/common/dsdb_dn.c @@ -211,6 +211,7 @@ struct dsdb_dn *dsdb_dn_parse(TALLOC_CTX *mem_ctx, struct ldb_context *ldb, dsdb_dn = dsdb_dn_construct(mem_ctx, dn, bval, dn_oid); + talloc_free(tmp_ctx); return dsdb_dn; failed: -- 2.34.1