mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-06 07:00:41 +00:00
msacm32.drv: Don't access uninitialized memory.
This commit is contained in:
parent
f86d10ffb6
commit
0377c0d3e8
|
@ -673,7 +673,7 @@ static void CALLBACK widCallback(HWAVEIN hWave, UINT uMsg, DWORD_PTR dwInstance,
|
|||
return;
|
||||
}
|
||||
|
||||
if (hWave != wim->u.in.hInnerWave && uMsg != WIM_OPEN)
|
||||
if (uMsg != WIM_OPEN && hWave != wim->u.in.hInnerWave)
|
||||
ERR("Shouldn't happen (%p %p)\n", hWave, wim->u.in.hInnerWave);
|
||||
|
||||
switch (uMsg) {
|
||||
|
|
Loading…
Reference in a new issue