[Pcsclite-cvs-commit] r6709 - trunk/PCSC/src
ludovic.rousseau at free.fr
ludovic.rousseau at free.fr
Mon Aug 5 18:49:32 UTC 2013
Author: rousseau
Date: 2013-08-05 18:49:31 +0000 (Mon, 05 Aug 2013)
New Revision: 6709
Modified:
trunk/PCSC/src/winscard_svc.c
Log:
ContextsDeinitialize(): fix a memory leak
Thanks to Alan Kozlay for the patch
Modified: trunk/PCSC/src/winscard_svc.c
===================================================================
--- trunk/PCSC/src/winscard_svc.c 2013-08-05 18:42:29 UTC (rev 6708)
+++ trunk/PCSC/src/winscard_svc.c 2013-08-05 18:49:31 UTC (rev 6709)
@@ -129,6 +129,8 @@
listSize = list_size(&contextsList);
Log2(PCSC_LOG_DEBUG, "remaining threads: %d", listSize);
/* This is currently a no-op. It should terminate the threads properly. */
+
+ list_destroy(&contextsList);
}
/**
More information about the Pcsclite-cvs-commit
mailing list