From 41b54a893116d04fcfb3b7f8d114917bd0f1a437 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sat, 2 Oct 2010 23:38:33 +0200 Subject: s3: Remove talloc_autofree_context from pdb_interface None of the pdb backends have special destructors that need to be run at program exit. --- source3/passdb/pdb_interface.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3') 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; } -- cgit