libwinpr-smartcard: fix SCardConnectW deadlock

This commit is contained in:
Marc-André Moreau 2014-04-12 12:15:04 -04:00
parent c106b62920
commit ee9f44ce5a

View File

@ -859,8 +859,6 @@ WINSCARDAPI LONG WINAPI PCSC_SCardConnectW(SCARDCONTEXT hContext,
PCSC_AddCardHandle(hContext, *phCard);
free(szReaderA);
return status;
}
PCSC_UnlockCardContext(hContext);