r4944: every event_add_*() caller was having to call talloc_steal() to take
authorAndrew Tridgell <tridge@samba.org>
Sun, 23 Jan 2005 12:17:45 +0000 (12:17 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:09:08 +0000 (13:09 -0500)
commit7f981b9ed96f39027cbfd500f41e0c2be64cbb50
tree6944fb58d95158a1d93e07869ffe753df1079c65
parenta3c7417cfeab429ffb22d5546b205818f531a7b4
r4944: every event_add_*() caller was having to call talloc_steal() to take
control of the event, so instead build that into the function. If you
pass NULL as mem_ctx then it leaves it as a child of the events
structure.
source/lib/events.c
source/lib/messaging/messaging.c
source/libcli/nbt/nbtsocket.c
source/libcli/raw/clisocket.c
source/libcli/raw/clitransport.c
source/libcli/resolve/host.c
source/librpc/rpc/dcerpc_sock.c
source/ntvfs/posix/pvfs_wait.c
source/rpc_server/echo/rpc_echo.c
source/smbd/service.c