msacm32.drv: Don't dereference a pointer after free.
Signed-off-by: Pierre Schweitzer <pierre@reactos.org> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
005de9e94c
commit
711188469e
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue