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:
parent
da5dfe7e80
commit
cd9aa35f68
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue