r4727: add a reference to the event context
commitcfc10f2a83b7c6190742498f1027256215cd0b31
authorStefan Metzmacher <metze@samba.org>
Fri, 14 Jan 2005 01:21:56 +0000 (14 01:21 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:08:49 +0000 (10 13:08 -0500)
tree21810939d78cd5f39fe9735d5e3c1af1821c4fcb
parent592fce7fb149ca5e82b14d9c8f13a4da1babe2b7
r4727: add a reference to the event context
to that the destructor don't double free the registered events
when the event context is first in the talloc_free() hierarchie

fixes a bug with process_model_thread and the talloc_steal(conn, ev)

metze
(This used to be commit 05c3d1c4a6a6350cc8b5fb2ee8201ae6feed3d3d)
source4/lib/messaging/messaging.c