dsound: Remove redundant null pointer check (Coverity).
IAudioClient instance could be expected to be valid at this point. Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com> Signed-off-by: Andrew Eikum <aeikum@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
15616e6580
commit
d597ea8f03
|
@ -387,7 +387,6 @@ err:
|
|||
IAudioStreamVolume_Release(volume);
|
||||
if (render)
|
||||
IAudioRenderClient_Release(render);
|
||||
if (client)
|
||||
IAudioClient_Release(client);
|
||||
HeapFree(GetProcessHeap(), 0, wfx);
|
||||
return hres;
|
||||
|
|
Loading…
Reference in New Issue