diff options
author | Samuel Cabrero <samuelcabrero@kernevil.me> | 2014-11-10 16:06:45 +0100 |
---|---|---|
committer | Garming Sam <garming@samba.org> | 2014-12-22 00:18:09 +0100 |
commit | afe6e576b95fc3f08945b379ecb37f73ebceb16a (patch) | |
tree | 12bcf5a8918cb9d997edf2c0ebbabe85115666b4 | |
parent | 5f47ca786ef65ed61b9a061e2d11a633344a3dcc (diff) | |
download | samba-afe6e576b95fc3f08945b379ecb37f73ebceb16a.tar.gz samba-afe6e576b95fc3f08945b379ecb37f73ebceb16a.tar.xz samba-afe6e576b95fc3f08945b379ecb37f73ebceb16a.zip |
s4:dsdb: Fix not freed temp memory context
Signed-off-by: Samuel Cabrero <samuelcabrero@kernevil.me>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
-rw-r--r-- | source4/dsdb/common/dsdb_dn.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/dsdb/common/dsdb_dn.c b/source4/dsdb/common/dsdb_dn.c index ab42776226..ccfbe36508 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: |