Commit e410f3fc authored by Marcus Meissner's avatar Marcus Meissner Committed by Alexandre Julliard

winhttp: Added missing LeaveCriticalSection (Coverity).

parent 0ab46cd5
......@@ -2973,7 +2973,10 @@ static HRESULT WINAPI winhttp_request_Send(
return S_OK;
}
VariantClear( &request->data );
if ((hr = VariantCopyInd( &request->data, &body )) != S_OK) return hr;
if ((hr = VariantCopyInd( &request->data, &body )) != S_OK) {
LeaveCriticalSection( &request->cs );
return hr;
}
if (request->wait) /* async request */
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment