From 9a56ade6b1d627126418c75de4602610b4482503 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Wed, 1 Dec 2010 05:50:59 +0100 Subject: s3:ntlm_auth: fix memory leak in the raw ntlmssp code path metze --- source3/utils/ntlm_auth.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source3/utils') 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")); -- cgit