[PATCH 2/2] winecoreaudio: Actually free the stream.
Huw Davies
huw at codeweavers.com
Tue Dec 21 09:45:13 CST 2021
Signed-off-by: Huw Davies <huw at codeweavers.com>
---
dlls/winecoreaudio.drv/coreaudio.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/dlls/winecoreaudio.drv/coreaudio.c b/dlls/winecoreaudio.drv/coreaudio.c
index 4bb83a37621..3f694b95a49 100644
--- a/dlls/winecoreaudio.drv/coreaudio.c
+++ b/dlls/winecoreaudio.drv/coreaudio.c
@@ -726,6 +726,7 @@ static NTSTATUS release_stream( void *args )
NtFreeVirtualMemory(GetCurrentProcess(), (void **)&stream->tmp_buffer,
&stream->tmp_buffer_size, MEM_RELEASE);
free(stream->fmt);
+ free(stream);
params->result = S_OK;
return STATUS_SUCCESS;
}
--
2.23.0
More information about the wine-devel
mailing list