From: Alexey Naumov Date: Sun, 25 May 2014 11:10:21 +0000 (+0600) Subject: Fix possible crash in DLL_THREAD_DETACH (explodes in .Net Framework) X-Git-Tag: OPENLDAP_REL_ENG_2_4_40~132^2~2 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=a93810cc3d1a062bf5edbe9c14795d0360cda8a4;p=openldap Fix possible crash in DLL_THREAD_DETACH (explodes in .Net Framework) --- diff --git a/libraries/liblmdb/mdb.c b/libraries/liblmdb/mdb.c index f66b7198f9..40e68de912 100644 --- a/libraries/liblmdb/mdb.c +++ b/libraries/liblmdb/mdb.c @@ -3677,7 +3677,9 @@ static void NTAPI mdb_tls_callback(PVOID module, DWORD reason, PVOID ptr) case DLL_THREAD_DETACH: for (i=0; i