lib: Introduce messaging_context->per_process_talloc_ctx
authorVolker Lendecke <vl@samba.org>
Tue, 11 Feb 2020 20:57:42 +0000 (21:57 +0100)
committerBjörn Baumbach <bb@sernet.de>
Tue, 18 Feb 2020 11:38:40 +0000 (11:38 +0000)
commit7209357f9ba5525a207d301b299931d6bdee9c2f
treef074587895c824f4e9cc5e5d81c3ba2a74f8f16d
parentdab982d88e9132cbff52db22f441c08ee59bb159
lib: Introduce messaging_context->per_process_talloc_ctx

Consolidate "msg_dgm_ref" and "msg_ctdb_ref": The only purpose of
those pointers was to TALLOC_FREE() them in messaging_reinit(). We'll
have a third entity to talloc_free() in the next commit, make that
simpler.

Bug: https://bugzilla.samba.org/show_bug.cgi?id=14281

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
source3/lib/messages.c