rsaenh: Don't bother to free memory at process exit.

This commit is contained in:
Alexandre Julliard 2013-05-15 10:25:21 +02:00
parent 47302fd29d
commit a1f5b109ed
1 changed files with 3 additions and 2 deletions

View File

@ -358,7 +358,7 @@ static struct handle_table handle_table;
* *
* Initializes and destroys the handle table for the CSP's handles. * Initializes and destroys the handle table for the CSP's handles.
*/ */
int WINAPI DllMain(HINSTANCE hInstance, DWORD fdwReason, PVOID pvReserved) BOOL WINAPI DllMain(HINSTANCE hInstance, DWORD fdwReason, PVOID reserved)
{ {
switch (fdwReason) switch (fdwReason)
{ {
@ -369,10 +369,11 @@ int WINAPI DllMain(HINSTANCE hInstance, DWORD fdwReason, PVOID pvReserved)
break; break;
case DLL_PROCESS_DETACH: case DLL_PROCESS_DETACH:
if (reserved) break;
destroy_handle_table(&handle_table); destroy_handle_table(&handle_table);
break; break;
} }
return 1; return TRUE;
} }
/****************************************************************************** /******************************************************************************