Michael Stefaniuc : rpcrt4: Add missing LeaveCriticalSection. Found by Smatch.
Alexandre Julliard
julliard at winehq.org
Tue Dec 18 07:34:44 CST 2007
Module: wine
Branch: master
Commit: 6210c097a46f829715bd634b4a1c6959a882a1c8
URL: http://source.winehq.org/git/wine.git/?a=commit;h=6210c097a46f829715bd634b4a1c6959a882a1c8
Author: Michael Stefaniuc <mstefani at redhat.de>
Date: Mon Dec 17 22:28:00 2007 +0100
rpcrt4: Add missing LeaveCriticalSection. Found by Smatch.
---
dlls/rpcrt4/rpc_assoc.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/dlls/rpcrt4/rpc_assoc.c b/dlls/rpcrt4/rpc_assoc.c
index 173ba71..7793c48 100644
--- a/dlls/rpcrt4/rpc_assoc.c
+++ b/dlls/rpcrt4/rpc_assoc.c
@@ -137,6 +137,7 @@ RPC_STATUS RpcServerAssoc_GetAssociation(LPCSTR Protseq, LPCSTR NetworkAddr,
}
}
*assoc_out = NULL;
+ LeaveCriticalSection(&assoc_list_cs);
return RPC_S_NO_CONTEXT_AVAILABLE;
}
More information about the wine-cvs
mailing list