summaryrefslogtreecommitdiff
path: root/source4/lib/ldb/common/ldb_ldif.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/lib/ldb/common/ldb_ldif.c')
-rw-r--r--source4/lib/ldb/common/ldb_ldif.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/lib/ldb/common/ldb_ldif.c b/source4/lib/ldb/common/ldb_ldif.c
index b7ab7300b2..888761e67b 100644
--- a/source4/lib/ldb/common/ldb_ldif.c
+++ b/source4/lib/ldb/common/ldb_ldif.c
@@ -373,6 +373,8 @@ int ldb_ldif_write(struct ldb_context *ldb,
ret = fprintf_fn(private_data,"\n");
CHECK_RET;
+ talloc_free(mem_ctx);
+
return total;
}