From: Samuel Cabrero Date: Mon, 10 Nov 2014 15:06:45 +0000 (+0100) Subject: s4:dsdb: Fix not freed temp memory context X-Git-Url: http://git.samba.org/?p=obnox%2Fsamba%2Fsamba-obnox.git;a=commitdiff_plain;h=afe6e576b95fc3f08945b379ecb37f73ebceb16a s4:dsdb: Fix not freed temp memory context Signed-off-by: Samuel Cabrero Reviewed-by: Garming Sam Reviewed-by: Andrew Bartlett --- 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: