Commit a7f0647d authored by Huw Davies's avatar Huw Davies Committed by Alexandre Julliard

winecoreaudio: Actually free the stream.

parent e03611ee
...@@ -726,6 +726,7 @@ static NTSTATUS release_stream( void *args ) ...@@ -726,6 +726,7 @@ static NTSTATUS release_stream( void *args )
NtFreeVirtualMemory(GetCurrentProcess(), (void **)&stream->tmp_buffer, NtFreeVirtualMemory(GetCurrentProcess(), (void **)&stream->tmp_buffer,
&stream->tmp_buffer_size, MEM_RELEASE); &stream->tmp_buffer_size, MEM_RELEASE);
free(stream->fmt); free(stream->fmt);
free(stream);
params->result = S_OK; params->result = S_OK;
return STATUS_SUCCESS; return STATUS_SUCCESS;
} }
......
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