mirror of
https://github.com/reactos/wine.git
synced 2024-12-12 13:56:38 +00:00
webservices: Unlock critical section before returning.
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de> Signed-off-by: Hans Leidekker <hans@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
1ddf2b4db8
commit
3c6c6a3cae
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user