Commit 8095210d authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

winealsa: Fix a leak of a silence buffer (Valgrind).

parent 8ff3ab85
...@@ -923,6 +923,7 @@ static ULONG WINAPI AudioClient_Release(IAudioClient *iface) ...@@ -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);
......
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