msacm32: Remove redundant not-NULL check (coccinellery).

Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Michael Stefaniuc 2019-03-06 00:02:32 +01:00 committed by Alexandre Julliard
parent b9c5bac673
commit a3af167373
1 changed files with 1 additions and 2 deletions

View File

@ -600,8 +600,7 @@ MMRESULT WINAPI acmDriverOpen(PHACMDRIVER phad, HACMDRIVERID hadid, DWORD fdwOpe
return MMSYSERR_NOERROR;
gotError:
WARN("failed: ret = %08x\n", ret);
if (pad && !pad->hDrvr)
HeapFree(MSACM_hHeap, 0, pad);
HeapFree(MSACM_hHeap, 0, pad);
return ret;
}