mirror of
https://github.com/reactos/wine.git
synced 2024-11-25 20:59:54 +00:00
Don't free ALSA device string when the device is closed since it might
be reopened.
This commit is contained in:
parent
ff915d457b
commit
301851da5a
@ -1557,8 +1557,6 @@ static DWORD wodClose(WORD wDevID)
|
||||
wwo->p_handle = NULL;
|
||||
|
||||
ret = wodNotifyClient(wwo, WOM_CLOSE, 0L, 0L);
|
||||
|
||||
HeapFree(GetProcessHeap(), 0, wwo->device);
|
||||
}
|
||||
|
||||
HeapFree(GetProcessHeap(), 0, wwo->ufds);
|
||||
@ -3044,8 +3042,6 @@ static DWORD widClose(WORD wDevID)
|
||||
wwi->p_handle = NULL;
|
||||
|
||||
ret = widNotifyClient(wwi, WIM_CLOSE, 0L, 0L);
|
||||
|
||||
HeapFree(GetProcessHeap(), 0, wwi->device);
|
||||
}
|
||||
|
||||
HeapFree(GetProcessHeap(), 0, wwi->ufds);
|
||||
|
Loading…
Reference in New Issue
Block a user