TLS leak for libcurl 7.50.3
Date: Sat, 25 Mar 2017 15:51:31 +0530
I use libcurl 7.50.3 as statically linked in my application dll , along
with openssl 1.1.0b also statically linked. The dll is dynamically loaded
using LoadLibrary() and unloaded using FreeLibrary() inside application
exe. I observed a TLS index is not getting freed which was allocated inside
openssl. To narrow down the issue I have following exported function, which
I call from my application exe. After FreeLibrary() I see the TLS leak
through APplication verifier.
extern "C" __declspec(dllexport)
An early reply in this context is appreciated.