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

Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Michael Stefaniuc 2016-07-08 10:06:30 +02:00 committed by Alexandre Julliard
parent da5dfe7e80
commit cd9aa35f68

View File

@ -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);