1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-04 17:47:26 +03:00

s3:smbd Give the kerberos session key a parent

I can't see what would free this, so this should prevent a memory leak.

Andrew Bartlett
This commit is contained in:
Andrew Bartlett 2010-06-03 21:15:33 +10:00
parent d25e9ab9a1
commit 4a7f45b7e1

View File

@ -561,6 +561,8 @@ static void reply_spnego_kerberos(struct smb_request *req,
data_blob_free(&server_info->user_session_key);
server_info->user_session_key = session_key;
talloc_steal(server_info, session_key.data);
session_key = data_blob_null;
/* register_existing_vuid keeps the server info */