http_digest: Added SSPI based clean-up code

This commit is contained in:
Steve Holme 2014-11-06 11:30:45 +00:00
parent 3d6b865654
commit 21fa0d86b1

View File

@ -346,7 +346,8 @@ CURLcode Curl_sasl_create_digest_http_message(struct SessionHandle *data,
*/ */
void Curl_sasl_digest_cleanup(struct digestdata *digest) void Curl_sasl_digest_cleanup(struct digestdata *digest)
{ {
(void) digest; /* Free the input token */
Curl_safefree(digest->input_token);
} }
#endif /* !CURL_DISABLE_CRYPTO_AUTH */ #endif /* !CURL_DISABLE_CRYPTO_AUTH */