summaryrefslogtreecommitdiff
path: root/source4/lib
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2009-10-02 22:40:02 +1000
committerAndrew Tridgell <tridge@samba.org>2009-10-02 22:40:02 +1000
commita0c82f17f897fcdbbd968d9808484ac577f93e20 (patch)
tree31a320c0b131c22f130055cbd8b39d704424cb6b /source4/lib
parent959eff92064d3d2224f4f232be63acbbe045ee8f (diff)
downloadsamba-a0c82f17f897fcdbbd968d9808484ac577f93e20.tar.gz
samba-a0c82f17f897fcdbbd968d9808484ac577f93e20.tar.bz2
samba-a0c82f17f897fcdbbd968d9808484ac577f93e20.zip
Revert "s4:ldb always talloc_free() the ldb_ldif_write context, even on success"
This reverts commit a610843e9f21ee77fd29356313d2ef05fe25a1ed.
Diffstat (limited to 'source4/lib')
-rw-r--r--source4/lib/ldb/common/ldb_ldif.c1
1 files changed, 0 insertions, 1 deletions
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;
}