Commit 0377c0d3 authored by Ken Thomases's avatar Ken Thomases Committed by Alexandre Julliard

msacm32.drv: Don't access uninitialized memory.

parent f86d10ff
...@@ -673,7 +673,7 @@ static void CALLBACK widCallback(HWAVEIN hWave, UINT uMsg, DWORD_PTR dwInstance, ...@@ -673,7 +673,7 @@ static void CALLBACK widCallback(HWAVEIN hWave, UINT uMsg, DWORD_PTR dwInstance,
return; 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); ERR("Shouldn't happen (%p %p)\n", hWave, wim->u.in.hInnerWave);
switch (uMsg) { switch (uMsg) {
......
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