From a0c82f17f897fcdbbd968d9808484ac577f93e20 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Fri, 2 Oct 2009 22:40:02 +1000 Subject: Revert "s4:ldb always talloc_free() the ldb_ldif_write context, even on success" This reverts commit a610843e9f21ee77fd29356313d2ef05fe25a1ed. --- source4/lib/ldb/common/ldb_ldif.c | 1 - 1 file changed, 1 deletion(-) diff --git a/source4/lib/ldb/common/ldb_ldif.c b/source4/lib/ldb/common/ldb_ldif.c index 9705179f18..b7ab7300b2 100644 --- a/source4/lib/ldb/common/ldb_ldif.c +++ b/source4/lib/ldb/common/ldb_ldif.c @@ -373,7 +373,6 @@ int ldb_ldif_write(struct ldb_context *ldb, ret = fprintf_fn(private_data,"\n"); CHECK_RET; - talloc_free(mem_ctx); return total; } -- cgit