winhttp: Fix return code check (PVS-Studio).
This commit is contained in:
parent
b378baedaa
commit
8fb0fd77e5
|
@ -3352,7 +3352,7 @@ static HRESULT request_send( struct winhttp_request *request )
|
|||
{
|
||||
sa = V_ARRAY( &data );
|
||||
if ((hr = SafeArrayAccessData( sa, (void **)&ptr )) != S_OK) return hr;
|
||||
if ((hr = SafeArrayGetUBound( sa, 1, &size ) != S_OK))
|
||||
if ((hr = SafeArrayGetUBound( sa, 1, &size )) != S_OK)
|
||||
{
|
||||
SafeArrayUnaccessData( sa );
|
||||
return hr;
|
||||
|
|
Loading…
Reference in New Issue