VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Common/SCardReader.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Common/SCardReader.cpp')
-rw-r--r--src/Common/SCardReader.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Common/SCardReader.cpp b/src/Common/SCardReader.cpp
index de269ce6..6c5f654a 100644
--- a/src/Common/SCardReader.cpp
+++ b/src/Common/SCardReader.cpp
@@ -17,7 +17,7 @@ namespace VeraCrypt
}
else
{
- m_scardLoader = NULL;
+ m_scardLoader.reset();
m_hSCReaderContext = 0;
}
m_hCard = hCard;
@@ -84,7 +84,7 @@ namespace VeraCrypt
void SCardReader::Clear(void)
{
m_szSCReaderName = L"";
- m_scardLoader = NULL;
+ m_scardLoader.reset();
m_hSCReaderContext = 0;
m_hCard = 0;
m_dwProtocol = 0;