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:
Nikolay Sivov 2016-06-06 11:14:38 +03:00 committed by Alexandre Julliard
parent 15616e6580
commit d597ea8f03
1 changed files with 1 additions and 2 deletions

View File

@ -387,8 +387,7 @@ err:
IAudioStreamVolume_Release(volume);
if (render)
IAudioRenderClient_Release(render);
if (client)
IAudioClient_Release(client);
IAudioClient_Release(client);
HeapFree(GetProcessHeap(), 0, wfx);
return hres;
}