summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/utils/ntlm_auth.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/utils/ntlm_auth.c b/source3/utils/ntlm_auth.c
index 9f0c839186..666bb5bbea 100644
--- a/source3/utils/ntlm_auth.c
+++ b/source3/utils/ntlm_auth.c
@@ -1319,6 +1319,8 @@ static void manage_gss_spnego_request(struct ntlm_auth_state *state,
&& (strncmp((char *)token.data, "NTLMSSP", 7) == 0)) {
char *reply;
+ data_blob_free(&token);
+
DEBUG(10, ("Could not parse GSS-SPNEGO, trying raw "
"ntlmssp\n"));