mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 12:23:31 +00:00
[WS2_32]
- 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:
@@ -887,9 +887,11 @@ DllMain(HANDLE hInstDll,
|
||||
|
||||
case DLL_PROCESS_DETACH:
|
||||
{
|
||||
DestroyCatalog();
|
||||
|
||||
FreeProviderHandleTable();
|
||||
if (!lpReserved)
|
||||
{
|
||||
FreeProviderHandleTable();
|
||||
DestroyCatalog();
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user