diff options
author | Andrew Bartlett <abartlet@samba.org> | 2003-02-17 12:20:20 +0000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2003-02-17 12:20:20 +0000 |
commit | af249535bd8c17e38d5de05352d36747da67e551 (patch) | |
tree | f03f0e96925033ac88da13e19b10dcbff67f5420 | |
parent | e33551bc0c3fcb5650d04e942996dfa68b0b86ea (diff) | |
download | samba-af249535bd8c17e38d5de05352d36747da67e551.tar.gz samba-af249535bd8c17e38d5de05352d36747da67e551.tar.bz2 samba-af249535bd8c17e38d5de05352d36747da67e551.zip |
Don't leak a session_key worth of memory at the end of the NTLMSSP auth.
(This used to be commit ae9765b84de0fd6eff790b3bff26dd3d43ec2bd6)
-rw-r--r-- | source3/libsmb/ntlmssp.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/libsmb/ntlmssp.c b/source3/libsmb/ntlmssp.c index 7992c1e84a..e4398dad17 100644 --- a/source3/libsmb/ntlmssp.c +++ b/source3/libsmb/ntlmssp.c @@ -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; |