[1/4] webservices: Unlock critical section before returning.

Sebastian Lackner sebastian at fds-team.de
Wed Mar 8 18:06:38 CST 2017


Signed-off-by: Sebastian Lackner <sebastian at fds-team.de>
---

Do I have to send feedback to the patches list to make sure it is not missed? ;)

 dlls/webservices/reader.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/dlls/webservices/reader.c b/dlls/webservices/reader.c
index 0951af767a2..26a5fe912d3 100644
--- a/dlls/webservices/reader.c
+++ b/dlls/webservices/reader.c
@@ -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;
 }
 
-- 
2.11.0



More information about the wine-patches mailing list