summaryrefslogtreecommitdiffstats
path: root/source3/winbindd
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2010-05-24 10:11:23 +1000
committerStefan Metzmacher <metze@samba.org>2010-05-31 21:36:55 +0200
commit19f4229fff0f0e350d0eb6e91f674c48c744d214 (patch)
treeaea4a67ab5968cbe4cd585b286cdc959f495ee0e /source3/winbindd
parent61eb56be4ea1f4eb26f63b985aeb52cdb1183328 (diff)
downloadsamba-19f4229fff0f0e350d0eb6e91f674c48c744d214.tar.gz
samba-19f4229fff0f0e350d0eb6e91f674c48c744d214.tar.xz
samba-19f4229fff0f0e350d0eb6e91f674c48c744d214.zip
s3:winbind Make state->mem_ctx a talloc child of state
This way everything is destoryed at the conclusion of the connection correctly. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'source3/winbindd')
-rw-r--r--source3/winbindd/winbindd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/winbindd/winbindd.c b/source3/winbindd/winbindd.c
index c899360a612..1cb4e216595 100644
--- 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;