Commit a3af1673 authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

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

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