mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-05 18:01:34 +00:00
winhttp: Fix a memory leak.
Reported by Marcus Meissner.
This commit is contained in:
parent
d72787521e
commit
93637828b4
1 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue