[Pcsclite-cvs-commit] r2499 - trunk/PCSC/src
Ludovic Rousseau
rousseau at alioth.debian.org
Thu Mar 29 15:05:23 CET 2007
Author: rousseau
Date: 2007-03-29 14:05:22 +0000 (Thu, 29 Mar 2007)
New Revision: 2499
Modified:
trunk/PCSC/src/winscard_clnt.c
Log:
SCardGetStatusChange(): do not release the mutex if it does not exist
anymore after a pcscd restart
Modified: trunk/PCSC/src/winscard_clnt.c
===================================================================
--- trunk/PCSC/src/winscard_clnt.c 2007-03-28 16:42:22 UTC (rev 2498)
+++ trunk/PCSC/src/winscard_clnt.c 2007-03-29 14:05:22 UTC (rev 2499)
@@ -1777,7 +1777,8 @@
if (SCardCheckDaemonAvailability() != SCARD_S_SUCCESS)
{
- SYS_MutexUnLock(psContextMap[dwContextIndex].mMutex);
+ if (psContextMap[dwContextIndex].mMutex)
+ SYS_MutexUnLock(psContextMap[dwContextIndex].mMutex);
PROFILE_END(SCARD_E_NO_SERVICE)
More information about the Pcsclite-cvs-commit
mailing list