diff options
author | Andrew Bartlett <abartlet@samba.org> | 2011-07-18 12:29:50 +1000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2011-07-20 09:17:13 +1000 |
commit | 9d96b78f31f5b9f470ca5be270f4976863d0b936 (patch) | |
tree | f54e6bed133e895a97021a09a88afd784319daf6 /source3 | |
parent | 7b273df175679e80c9d29c6bb8beee85331c9f0e (diff) | |
download | samba-9d96b78f31f5b9f470ca5be270f4976863d0b936.tar.gz samba-9d96b78f31f5b9f470ca5be270f4976863d0b936.tar.bz2 samba-9d96b78f31f5b9f470ca5be270f4976863d0b936.zip |
s3-auth Remove pointless destructor
All the users of this structure allocate info3 on the session_info
Andrew Bartlett
Signed-off-by: Andrew Tridgell <tridge@samba.org>
Diffstat (limited to 'source3')
-rw-r--r-- | source3/auth/server_info.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/source3/auth/server_info.c b/source3/auth/server_info.c index 080bd0b058..0add24b001 100644 --- a/source3/auth/server_info.c +++ b/source3/auth/server_info.c @@ -63,14 +63,6 @@ struct auth_serversupplied_info *make_server_info(TALLOC_CTX *mem_ctx) return result; } -/* FIXME: do we really still need this ? */ -static int auth3_session_info_dtor(struct auth3_session_info *session_info) -{ - TALLOC_FREE(session_info->info3); - ZERO_STRUCTP(session_info); - return 0; -} - /*************************************************************************** Make a server_info struct. Free with TALLOC_FREE(). ***************************************************************************/ @@ -85,8 +77,6 @@ struct auth3_session_info *make_auth3_session_info(TALLOC_CTX *mem_ctx) return NULL; } - talloc_set_destructor(result, auth3_session_info_dtor); - /* Initialise the unix_token to NULL which may save us from giving away root access if there is a bug in allocating these fields. */ |