Commit 71118846 authored by Pierre Schweitzer's avatar Pierre Schweitzer Committed by Alexandre Julliard

msacm32.drv: Don't dereference a pointer after free.

parent 005de9e9
......@@ -852,8 +852,8 @@ found:
HeapFree(GetProcessHeap(), 0, wim);
} else {
*lpdwUser = (DWORD_PTR)wim;
TRACE("Ok (stream=%p)\n", wim->hAcmStream);
}
TRACE("Ok (stream=%p)\n", wim->hAcmStream);
return MMSYSERR_NOERROR;
error:
HeapFree(GetProcessHeap(), 0, wim);
......
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