mirror of
https://github.com/reactos/wine.git
synced 2025-01-23 04:15:48 +00:00
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…
x
Reference in New Issue
Block a user