winealsa: Fix a leak of a silence buffer (Valgrind).
This commit is contained in:
parent
8ff3ab8503
commit
8095210d2c
|
@ -923,6 +923,7 @@ static ULONG WINAPI AudioClient_Release(IAudioClient *iface)
|
||||||
HeapFree(GetProcessHeap(), 0, This->vols);
|
HeapFree(GetProcessHeap(), 0, This->vols);
|
||||||
HeapFree(GetProcessHeap(), 0, This->local_buffer);
|
HeapFree(GetProcessHeap(), 0, This->local_buffer);
|
||||||
HeapFree(GetProcessHeap(), 0, This->remapping_buf);
|
HeapFree(GetProcessHeap(), 0, This->remapping_buf);
|
||||||
|
HeapFree(GetProcessHeap(), 0, This->silence_buf);
|
||||||
HeapFree(GetProcessHeap(), 0, This->tmp_buffer);
|
HeapFree(GetProcessHeap(), 0, This->tmp_buffer);
|
||||||
HeapFree(GetProcessHeap(), 0, This->hw_params);
|
HeapFree(GetProcessHeap(), 0, This->hw_params);
|
||||||
CoTaskMemFree(This->fmt);
|
CoTaskMemFree(This->fmt);
|
||||||
|
|
Loading…
Reference in New Issue