diff options
author | Stefan Metzmacher <metze@samba.org> | 2010-12-01 05:50:59 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2010-12-07 17:39:03 +0100 |
commit | 9a56ade6b1d627126418c75de4602610b4482503 (patch) | |
tree | 52b286443adaebee50a45ab8e72bd973374adfcc /source3/utils | |
parent | 6acbcd1b0ce6529eb381ea94573a707e677eebb4 (diff) | |
download | samba-9a56ade6b1d627126418c75de4602610b4482503.tar.gz samba-9a56ade6b1d627126418c75de4602610b4482503.tar.bz2 samba-9a56ade6b1d627126418c75de4602610b4482503.zip |
s3:ntlm_auth: fix memory leak in the raw ntlmssp code path
metze
Diffstat (limited to 'source3/utils')
-rw-r--r-- | source3/utils/ntlm_auth.c | 2 |
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")); |