Some memory is not freed on unload
Memory is allocated in SCardEstablishContextTH() in winscard_clnt.c ``` if (isExecuted == 0) { list_init(&contextMapList); .... } ``` This memory is never released. Maybe the memory could be allocated and deallocated in constructor and destructor functions? https://gcc.gnu.org/onlinedocs/gcc/Common-Function-Attributes.html#Common-Function-Attributes See https://github.com/OpenSC/OpenSC/issues/512 Copied from https://alioth.debian.org/tracker/index.php?func=detail&aid=315134&group_id=30105&atid=410085
issue