winhttp: Fix a memory leak.

Reported by Marcus Meissner.
This commit is contained in:
Hans Leidekker 2013-05-13 12:17:36 +02:00 committed by Alexandre Julliard
parent d72787521e
commit 93637828b4
1 changed files with 2 additions and 0 deletions

View File

@ -1582,6 +1582,8 @@ static BOOL do_authorization( request_t *request, DWORD target, DWORD scheme_fla
{
ERR("authentication scheme changed from %s to %s\n",
debugstr_w(auth_schemes[authinfo->scheme].str), debugstr_w(auth_value));
destroy_authinfo( authinfo );
*auth_ptr = NULL;
return FALSE;
}
in.BufferType = SECBUFFER_TOKEN;