summaryrefslogtreecommitdiff
path: root/source4/lib
diff options
context:
space:
mode:
Diffstat (limited to 'source4/lib')
-rw-r--r--source4/lib/ldb/common/ldb.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/lib/ldb/common/ldb.c b/source4/lib/ldb/common/ldb.c
index ce4796dee2..9e04cc7845 100644
--- a/source4/lib/ldb/common/ldb.c
+++ b/source4/lib/ldb/common/ldb.c
@@ -97,6 +97,7 @@ void ldb_set_default_dns(struct ldb_context *ldb)
if (res->count != 1) {
talloc_free(res);
+ talloc_free(tmp_ctx);
return;
}