20 memory leaks were found when testing ThinLinc client using valgrind bug 2723. Those leaks was the result from starting ThinLinc client with smartcard authentication enabled and a card inserted, then remove the card and insert again.
Created attachment 688 [details] Logfile from valgrind run.
Even though i have debug symbols installed, there are missing symbols in the logfile. /proc/<pid>/maps tells that it is within our shipped pkcs11 module. 0dc3b000-0def6000 r-xp 00000000 fd:00 8004271 /opt/thinlinc/lib/tlclient/opensc-pkcs11.so 0def6000-0e0f5000 ---p 002bb000 fd:00 8004271 /opt/thinlinc/lib/tlclient/opensc-pkcs11.so 0e0f5000-0e127000 rw-p 002ba000 fd:00 8004271 /opt/thinlinc/lib/tlclient/opensc-pkcs11.so
Reproduced using ThinLinc 4.6.0 build 5116 running on Fedora 24: opensc-debuginfo-0.15.0-5.fc24.x86_64 opensc-0.15.0-5.fc24.x86_64