Commit 8d8d55e1 authored by Alexandre Julliard's avatar Alexandre Julliard

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

parent 6ac9aa0a
......@@ -243,6 +243,7 @@ BOOL WINAPI DllMain(HINSTANCE dll, DWORD reason, void *reserved)
break;
case DLL_PROCESS_DETACH:
if (!reserved)
{
OSSDevice *iter, *iter2;
......@@ -251,9 +252,8 @@ BOOL WINAPI DllMain(HINSTANCE dll, DWORD reason, void *reserved)
LIST_FOR_EACH_ENTRY_SAFE(iter, iter2, &g_devices, OSSDevice, entry){
HeapFree(GetProcessHeap(), 0, iter);
}
break;
}
break;
}
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