summaryrefslogtreecommitdiff
path: root/source3/auth/auth_ntlmssp.c
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2003-02-10 09:16:05 +0000
committerAndrew Bartlett <abartlet@samba.org>2003-02-10 09:16:05 +0000
commitec7a1994b0b937f95379a32bb135e816d407d843 (patch)
tree30af0a81755286192b014e5d137b4fbf45a9ecf8 /source3/auth/auth_ntlmssp.c
parent868d169a4084c24924a419adc46a54f721aa2efd (diff)
downloadsamba-ec7a1994b0b937f95379a32bb135e816d407d843.tar.gz
samba-ec7a1994b0b937f95379a32bb135e816d407d843.tar.bz2
samba-ec7a1994b0b937f95379a32bb135e816d407d843.zip
Some cleanups:
- Don't use pstrcpy into an allocated string - use safe_strcpy() directly instead. - Keep a copy of the 'server_info' attached to the vuid. In future use this for things like the session key, homedir and full name instead of current copies. - Try to avoid memory leak/segfault on Realloc failure - clear up #endif comments Andrew Bartlett (This used to be commit 162477bb086827950b6cb71afa9bef62c2753c2e)
Diffstat (limited to 'source3/auth/auth_ntlmssp.c')
-rw-r--r--source3/auth/auth_ntlmssp.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/source3/auth/auth_ntlmssp.c b/source3/auth/auth_ntlmssp.c
index 3e650a7a2a..43542b2474 100644
--- a/source3/auth/auth_ntlmssp.c
+++ b/source3/auth/auth_ntlmssp.c
@@ -125,7 +125,6 @@ NTSTATUS auth_ntlmssp_end(AUTH_NTLMSSP_STATE **auth_ntlmssp_state)
if ((*auth_ntlmssp_state)->server_info) {
free_server_info(&(*auth_ntlmssp_state)->server_info);
}
-
talloc_destroy(mem_ctx);
*auth_ntlmssp_state = NULL;
return NT_STATUS_OK;