r4727: add a reference to the event context
authorStefan Metzmacher <metze@samba.org>
Fri, 14 Jan 2005 01:21:56 +0000 (01:21 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:08:49 +0000 (13:08 -0500)
commit05c3d1c4a6a6350cc8b5fb2ee8201ae6feed3d3d
tree498030fe181d89b789cdeb578ffada1430e5e558
parent8308da6ce4a95f8c10e22949ef00e9e64f2dbb85
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
source/lib/messaging/messaging.c