messaging3: Fix running down a messaging_context
authorVolker Lendecke <vl@samba.org>
Wed, 22 Oct 2014 15:11:43 +0000 (15:11 +0000)
committerJeremy Allison <jra@samba.org>
Fri, 24 Oct 2014 02:01:32 +0000 (04:01 +0200)
commit6be7da3ee6c3d833fbf5d075bfabd04bda7e5097
tree916d65717b213bead0956be9d0c07e9058cfc081
parentc9cced03224011ad25f5fc6b7d737fb2cabd3153
messaging3: Fix running down a messaging_context

When you do a talloc_free(msg_ctx), existing waiters can't and don't have to
clean up behind themselves properly anymore. The msg_ctx the cleanup function
refers to is just gone.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Fri Oct 24 04:01:32 CEST 2014 on sn-devel-104
source3/lib/messages.c