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:
Pierre Schweitzer 2015-10-24 10:55:18 +02:00 committed by Alexandre Julliard
parent 005de9e94c
commit 711188469e
1 changed files with 1 additions and 1 deletions

View File

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