1
0
mirror of https://github.com/samba-team/samba.git synced 2025-08-26 01:49:31 +03:00

s3: Remove talloc_autofree_context from pdb_interface

None of the pdb backends have special destructors that need to be run at
program exit.
This commit is contained in:
Volker Lendecke
2010-10-02 23:38:33 +02:00
parent 32ec1b36e0
commit 41b54a8931

View File

@ -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;
}