- Do not free resources at process termination.
 - Free the provider catalog after the handle table, since the latter references the former.

svn path=/trunk/; revision=66337
This commit is contained in:
Jérôme Gardou
2015-02-17 15:08:54 +00:00
parent 52a5043b98
commit c78bc820f6
+5 -3
View File
@@ -887,9 +887,11 @@ DllMain(HANDLE hInstDll,
case DLL_PROCESS_DETACH:
{
DestroyCatalog();
FreeProviderHandleTable();
if (!lpReserved)
{
FreeProviderHandleTable();
DestroyCatalog();
}
}
break;