mirror of
https://github.com/samba-team/samba.git
synced 2024-12-24 21:34:56 +03:00
s3: Remove talloc_autofree_context() from pdb_init_ads()
This commit is contained in:
parent
2d8b65066e
commit
9b2d3142c1
@ -2323,7 +2323,7 @@ static NTSTATUS pdb_init_ads(struct pdb_methods **pdb_method,
|
||||
char *tmp = NULL;
|
||||
NTSTATUS status;
|
||||
|
||||
m = talloc(talloc_autofree_context(), struct pdb_methods);
|
||||
m = talloc(NULL, struct pdb_methods);
|
||||
if (m == NULL) {
|
||||
return NT_STATUS_NO_MEMORY;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user