r2627: use the new talloc capabilities in a bunch more places in the rpc
authorAndrew Tridgell <tridge@samba.org>
Sat, 25 Sep 2004 11:24:10 +0000 (11:24 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 17:59:13 +0000 (12:59 -0500)
commitd79c7d41da373dea7f95506c178b18f0dd896043
treecc8063224f109163481973e5f076674c976d7b9f
parent998e8022b6d608840cf7c8058e24277b959da64d
r2627: use the new talloc capabilities in a bunch more places in the rpc
server code. This fixes a number of memory leaks I found when testing
with valgrind and smbtorture, as the cascading effect of a
talloc_free() ensures that anything derived from the top level object
is destroyed on disconnect.
(This used to be commit 76d0b8206ce64d6ff4a192979c43dddbec726d6e)
source4/ntvfs/ipc/vfs_ipc.c
source4/rpc_server/dcerpc_server.c
source4/rpc_server/dcerpc_server.h
source4/rpc_server/dcerpc_tcp.c
source4/rpc_server/dcesrv_auth.c
source4/rpc_server/epmapper/rpc_epmapper.c
source4/rpc_server/handles.c
source4/rpc_server/remote/dcesrv_remote.c
source4/rpc_server/winreg/rpc_winreg.c
source4/smb_server/smb_server.c
source4/smb_server/smb_server.h