wininet: Fix WININET_SetAuthorization on error path (coverity).
This commit is contained in:
parent
585a66a463
commit
5010f0933e
@ -188,7 +188,7 @@ static BOOL WININET_SetAuthorization( http_request_t *request, LPWSTR username,
|
|||||||
q = heap_strdupW(password);
|
q = heap_strdupW(password);
|
||||||
if( !q )
|
if( !q )
|
||||||
{
|
{
|
||||||
heap_free(username);
|
heap_free(p);
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user