git.samba.org
/
mat
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
32ec1b3
)
s3: Remove talloc_autofree_context from pdb_interface
author
Volker Lendecke
<vl@samba.org>
Sat, 2 Oct 2010 21:38:33 +0000
(23:38 +0200)
committer
Volker Lendecke
<vl@samba.org>
Sun, 3 Oct 2010 08:45:56 +0000
(10:45 +0200)
None of the pdb backends have special destructors that need to be run at
program exit.
source3/passdb/pdb_interface.c
patch
|
blob
|
history
diff --git
a/source3/passdb/pdb_interface.c
b/source3/passdb/pdb_interface.c
index 11b70f2bcb77014ff32ffcb1971037ad3fca8988..e57ee7bbfe08fe418a1dc19d6d3e508edcb9a0b6 100644
(file)
--- 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;
}