mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 12:19:49 +00:00
mmdevapi: Don't free resources on PROCESS_DETACH.
This commit is contained in:
parent
4521044758
commit
1d3aac50a6
1 changed files with 2 additions and 0 deletions
|
@ -176,6 +176,8 @@ BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
|
|||
DisableThreadLibraryCalls(hinstDLL);
|
||||
break;
|
||||
case DLL_PROCESS_DETACH:
|
||||
if(lpvReserved)
|
||||
break;
|
||||
MMDevEnum_Free();
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue