s3-auth: Use talloc hierarchies to properly free auth_ntlmssp_state contexts
authorSimo Sorce <idra@samba.org>
Fri, 16 Jul 2010 23:44:22 +0000 (19:44 -0400)
committerAndrew Bartlett <abartlet@samba.org>
Mon, 19 Jul 2010 04:20:04 +0000 (14:20 +1000)
commitc09dcb903cdc1a68f71e892501a450df31367a54
tree7c7938d79d20e66f8274030aabf79a30c9d39320
parent673fcfa3775ac6bdc467dde0bcf6670966cab50c
s3-auth: Use talloc hierarchies to properly free auth_ntlmssp_state contexts

Turn auth_ntlmssp_end into a destructor and attach it to auth_ntlmssp_state.
Remote auth_ntlmssp_end and use TALLOC_FREE in the callers.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
source3/auth/auth_ntlmssp.c
source3/include/proto.h
source3/rpc_server/srv_pipe.c
source3/smbd/password.c
source3/smbd/seal.c
source3/smbd/sesssetup.c
source3/smbd/smb2_sesssetup.c