Skip to content
Snippets Groups Projects
Commit e410f3fc authored by Marcus Meissner's avatar Marcus Meissner Committed by Alexandre Julliard
Browse files

winhttp: Added missing LeaveCriticalSection (Coverity).

parent 0ab46cd5
Branches
Tags
No related merge requests found
......@@ -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 */
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment