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

winepulse: Remove a redundant NULL check before HeapFree().

parent da5dfe7e
......@@ -1443,8 +1443,7 @@ static HRESULT WINAPI AudioClient_Initialize(IAudioClient *iface,
exit:
if (FAILED(hr)) {
if(This->local_buffer)
HeapFree(GetProcessHeap(), 0, This->local_buffer);
HeapFree(GetProcessHeap(), 0, This->local_buffer);
This->local_buffer = NULL;
if (This->stream) {
pa_stream_disconnect(This->stream);
......
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