diff options
author | Andrew Bartlett <abartlet@samba.org> | 2010-05-24 10:11:23 +1000 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2010-05-31 21:36:55 +0200 |
commit | 19f4229fff0f0e350d0eb6e91f674c48c744d214 (patch) | |
tree | aea4a67ab5968cbe4cd585b286cdc959f495ee0e /source3 | |
parent | 61eb56be4ea1f4eb26f63b985aeb52cdb1183328 (diff) | |
download | samba-19f4229fff0f0e350d0eb6e91f674c48c744d214.tar.gz samba-19f4229fff0f0e350d0eb6e91f674c48c744d214.tar.bz2 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')
-rw-r--r-- | source3/winbindd/winbindd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/winbindd/winbindd.c b/source3/winbindd/winbindd.c index c899360a61..1cb4e21659 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; |