1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-04 05:18:06 +03:00

Don't leak a session_key worth of memory at the end of the NTLMSSP auth.

(This used to be commit ae9765b84d)
This commit is contained in:
Andrew Bartlett 2003-02-17 12:20:20 +00:00
parent e33551bc0c
commit af249535bd

View File

@ -573,6 +573,7 @@ NTSTATUS ntlmssp_client_end(NTLMSSP_CLIENT_STATE **ntlmssp_state)
{
TALLOC_CTX *mem_ctx = (*ntlmssp_state)->mem_ctx;
data_blob_free(&(*ntlmssp_state)->session_key);
talloc_destroy(mem_ctx);
*ntlmssp_state = NULL;
return NT_STATUS_OK;