Skip Menu |

From: Sergey Ilinykh <>
Date: Sun, 8 Apr 2018 21:04:59 +0500
Subject: TLS is not free on library unload

I was playing gssapiv2 plugin in Cyrus SASL compiled with Visual Studio 2015 x64 when noticed a crash on exit of my application. I checked the application with "Application Verifier" and found out kerberos libraries free TLS incorrectly (not everything). I found the error in the code and it looks like it's kind of result of copy'n'paste in the middle of night :-)

More details in their bug tracker on github

Best Regards,
Subject: git commit

Fix small leak in wshelper DLL

Remove a double initialization of dwHesPwUidIndex in wshelper which
caused the first initialization to leak a thread-local storage handle.
Reported by Sergey Ilinykh.
Author: Greg Hudson <>
Commit: 0c013d6bc018d5be9f694ce80a27de740628133d
Branch: master
src/util/wshelper/dllmain.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)