summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2010-12-01 05:52:29 +0100
committerStefan Metzmacher <metze@samba.org>2010-12-07 17:39:03 +0100
commitee4f5ac6182969bcab91955e6d6581e408d222f1 (patch)
tree990530d2d8d59de0acdd049520f6e04b71b5831d
parent9a56ade6b1d627126418c75de4602610b4482503 (diff)
downloadsamba-ee4f5ac6182969bcab91955e6d6581e408d222f1.tar.gz
samba-ee4f5ac6182969bcab91955e6d6581e408d222f1.tar.bz2
samba-ee4f5ac6182969bcab91955e6d6581e408d222f1.zip
s3:ntlm_auth: free session key, as we don't use it (at least for now)
metze
-rw-r--r--source3/utils/ntlm_auth.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/utils/ntlm_auth.c b/source3/utils/ntlm_auth.c
index 666bb5bbea..8b6e3c5387 100644
--- a/source3/utils/ntlm_auth.c
+++ b/source3/utils/ntlm_auth.c
@@ -1407,7 +1407,7 @@ static void manage_gss_spnego_request(struct ntlm_auth_state *state,
TALLOC_CTX *mem_ctx = talloc_init("manage_gss_spnego_request");
char *principal;
DATA_BLOB ap_rep;
- DATA_BLOB session_key;
+ DATA_BLOB session_key = data_blob_null;
struct PAC_LOGON_INFO *logon_info = NULL;
DATA_BLOB ticket;
uint8_t tok_id[2];
@@ -1463,6 +1463,7 @@ static void manage_gss_spnego_request(struct ntlm_auth_state *state,
user, &logon_info->info3);
data_blob_free(&ap_rep);
+ data_blob_free(&session_key);
}
TALLOC_FREE(mem_ctx);