diff --git a/source3/utils/ntlm_auth.c b/source3/utils/ntlm_auth.c index 9f0c839186c..666bb5bbea6 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"));