Commit a1f5b109 authored by Alexandre Julliard's avatar Alexandre Julliard

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

parent 47302fd2
......@@ -358,7 +358,7 @@ static struct handle_table handle_table;
*
* 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)
{
......@@ -369,10 +369,11 @@ int WINAPI DllMain(HINSTANCE hInstance, DWORD fdwReason, PVOID pvReserved)
break;
case DLL_PROCESS_DETACH:
if (reserved) break;
destroy_handle_table(&handle_table);
break;
}
return 1;
return TRUE;
}
/******************************************************************************
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment