Don't free ALSA device string when the device is closed since it might

be reopened.
This commit is contained in:
Felix Nawothnig 2004-03-31 20:05:45 +00:00 committed by Alexandre Julliard
parent ff915d457b
commit 301851da5a

View file

@ -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);