Release memory that has been returned from the resource manager using the SCARD_AUTOALLOCATE (function SCardListReaders)
Closed this issue · 1 comments
xenon-ua commented
Hello. It looks like a posible bug that leads to a memory leak. File: pcsclite.cpp:262. The SCardListReaders()
function allocate memory for readers_name
(in case if SCARD_AUTOALLOCATE
is defined) and you must release this memory using the SCardFreeMemory()
function. I have not found a call of the SCardFreeMemory()
function in the source code. Is it ok?
xenon-ua commented
I was wrong. I found where the memory is released