Commit 3c6c6a3c authored by Sebastian Lackner's avatar Sebastian Lackner Committed by Alexandre Julliard

webservices: Unlock critical section before returning.

parent 1ddf2b4d
......@@ -1182,6 +1182,8 @@ HRESULT WINAPI WsGetNamespaceFromPrefix( WS_XML_READER *handle, const WS_XML_STR
}
}
LeaveCriticalSection( &reader->cs );
if (!found)
{
if (required) return WS_E_INVALID_FORMAT;
......@@ -1189,7 +1191,6 @@ HRESULT WINAPI WsGetNamespaceFromPrefix( WS_XML_READER *handle, const WS_XML_STR
return S_FALSE;
}
LeaveCriticalSection( &reader->cs );
return S_OK;
}
......
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