git.samba.org
/
vlendec
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
61eb56b
)
s3:winbind Make state->mem_ctx a talloc child of state
author
Andrew Bartlett
<abartlet@samba.org>
Mon, 24 May 2010 00:11:23 +0000
(10:11 +1000)
committer
Stefan Metzmacher
<metze@samba.org>
Mon, 31 May 2010 19:36:55 +0000
(21:36 +0200)
This way everything is destoryed at the conclusion of
the connection correctly.
Andrew Bartlett
Signed-off-by: Stefan Metzmacher <metze@samba.org>
source3/winbindd/winbindd.c
patch
|
blob
|
history
diff --git
a/source3/winbindd/winbindd.c
b/source3/winbindd/winbindd.c
index c899360a6128628e6bf80740e690f3406fc64a8f..1cb4e216595f9a03eececb0b6ed9ff99b3a38904 100644
(file)
--- a/
source3/winbindd/winbindd.c
+++ b/
source3/winbindd/winbindd.c
@@
-574,7
+574,7
@@
static void process_request(struct winbindd_cli_state *state)
struct winbindd_dispatch_table *table = dispatch_table;
struct winbindd_async_dispatch_table *atable;
- state->mem_ctx = talloc_
init(
"winbind request");
+ state->mem_ctx = talloc_
named(state, 0,
"winbind request");
if (state->mem_ctx == NULL)
return;