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:
parent
e33551bc0c
commit
af249535bd
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user