s4: server: Remove use of talloc_autofree_context as the parent of event_ctx.
authorJeremy Allison <jra@samba.org>
Mon, 3 Apr 2017 18:04:31 +0000 (18:04 +0000)
committerJeremy Allison <jra@samba.org>
Mon, 17 Apr 2017 17:13:07 +0000 (19:13 +0200)
commitf24ecb035b8719c961e1e4ad7c4948f1dbd5165b
tree7c542c2a193fda19dc0c031e9923aab2139c9fce
parentfc8f858c8cdac4a50517e48d4f5af6273c27b894
s4: server: Remove use of talloc_autofree_context as the parent of event_ctx.

Use state->event_ctx as the parent of the initial imessaging context.

Now we control all exit paths, we can call TALLOC_FREE(state)
on all of them.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
source4/smbd/server.c