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:
@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user