summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-10-02 23:38:33 +0200
committerVolker Lendecke <vl@samba.org>2010-10-03 10:45:56 +0200
commit41b54a893116d04fcfb3b7f8d114917bd0f1a437 (patch)
treef4ccc94a722cc7d5b58b9500c67567ebfe6cb8e1 /source3
parent32ec1b36e0ba201344097bcfc1c85c6bc316bab3 (diff)
downloadsamba-41b54a893116d04fcfb3b7f8d114917bd0f1a437.tar.gz
samba-41b54a893116d04fcfb3b7f8d114917bd0f1a437.tar.bz2
samba-41b54a893116d04fcfb3b7f8d114917bd0f1a437.zip
s3: Remove talloc_autofree_context from pdb_interface
None of the pdb backends have special destructors that need to be run at program exit.
Diffstat (limited to 'source3')
-rw-r--r--source3/passdb/pdb_interface.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/passdb/pdb_interface.c b/source3/passdb/pdb_interface.c
index 11b70f2bcb..e57ee7bbfe 100644
--- a/source3/passdb/pdb_interface.c
+++ b/source3/passdb/pdb_interface.c
@@ -2110,7 +2110,7 @@ NTSTATUS make_pdb_method( struct pdb_methods **methods )
{
/* allocate memory for the structure as its own talloc CTX */
- *methods = talloc_zero(talloc_autofree_context(), struct pdb_methods);
+ *methods = talloc_zero(NULL, struct pdb_methods);
if (*methods == NULL) {
return NT_STATUS_NO_MEMORY;
}