Commit d597ea8f authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

dsound: Remove redundant null pointer check (Coverity).

IAudioClient instance could be expected to be valid at this point. Signed-off-by: 's avatarNikolay Sivov <nsivov@codeweavers.com> Signed-off-by: 's avatarAndrew Eikum <aeikum@codeweavers.com> Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
parent 15616e65
......@@ -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;
}
......
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