diff options
author | Andrew Tridgell <tridge@samba.org> | 2008-04-18 16:23:48 +0200 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2008-04-18 16:23:48 +0200 |
commit | 93c9de03afd907015108bbb53bd8453da3cc8115 (patch) | |
tree | ac4b38f20781aecf04e83af1c31a9d41157bd2c6 /source4/winbind | |
parent | 09e1ed03c7ba71dafd767b46ca57539c6f92e5d0 (diff) | |
download | samba-93c9de03afd907015108bbb53bd8453da3cc8115.tar.gz samba-93c9de03afd907015108bbb53bd8453da3cc8115.tar.bz2 samba-93c9de03afd907015108bbb53bd8453da3cc8115.zip |
fixed a double free in winbind
state->domain->netlogon_binding is a child of ctx, and ctx is freed by
the composite_is_ok failure callback
(This used to be commit 3c217518ba9a7b64fe6c842187499f1ee5189567)
Diffstat (limited to 'source4/winbind')
-rw-r--r-- | source4/winbind/wb_init_domain.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/source4/winbind/wb_init_domain.c b/source4/winbind/wb_init_domain.c index c1325bfe09..8b82ab711e 100644 --- a/source4/winbind/wb_init_domain.c +++ b/source4/winbind/wb_init_domain.c @@ -209,7 +209,6 @@ static void init_domain_recv_netlogonpipe(struct composite_context *ctx) &state->domain->netlogon_pipe); if (!composite_is_ok(state->ctx)) { - talloc_free(state->domain->netlogon_binding); return; } talloc_steal(state->domain->netlogon_pipe, state->domain->netlogon_binding); |