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

Fix a memleak in new auth_serversupplied code

(This used to be commit f23e970848b6e6655453fa65f6f160f624acfcff)
This commit is contained in:
Volker Lendecke 2008-05-11 00:23:01 +02:00
parent 4f9b325fb2
commit 6b6bb484a8

View File

@ -652,7 +652,8 @@ static void reply_spnego_ntlmssp(struct smb_request *req,
data_blob_free(&server_info->user_session_key);
server_info->user_session_key =
data_blob(
data_blob_talloc(
server_info,
(*auth_ntlmssp_state)->ntlmssp_state->session_key.data,
(*auth_ntlmssp_state)->ntlmssp_state->session_key.length);