mirror of
https://github.com/monero-project/monero.git
synced 2025-01-13 16:30:32 -05:00
Merge pull request #3976
f40cf1a
device_ledger: fix bad memory access on connect error (moneromooo-monero)
This commit is contained in:
commit
06b0f9e870
@ -405,7 +405,7 @@ namespace hw {
|
||||
}
|
||||
}
|
||||
|
||||
if (mszReaders) {
|
||||
if (rv == SCARD_S_SUCCESS && mszReaders) {
|
||||
#ifdef SCARD_AUTOALLOCATE
|
||||
SCardFreeMemory(this->hContext, mszReaders);
|
||||
#else
|
||||
|
Loading…
Reference in New Issue
Block a user