[PATCH 3/5] wineoss: Add missing parentheses for GetProcessHeap call.
Rémi Bernon
wine at gitlab.winehq.org
Mon May 23 02:49:29 CDT 2022
From: Rémi Bernon <rbernon at codeweavers.com>
Signed-off-by: Rémi Bernon <rbernon at codeweavers.com>
---
dlls/wineoss.drv/mmdevdrv.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/wineoss.drv/mmdevdrv.c b/dlls/wineoss.drv/mmdevdrv.c
index 26ff60aeb2a..dbd9c5a0490 100644
--- a/dlls/wineoss.drv/mmdevdrv.c
+++ b/dlls/wineoss.drv/mmdevdrv.c
@@ -399,7 +399,7 @@ HRESULT WINAPI AUDDRV_GetEndpointIDs(EDataFlow flow, WCHAR ***ids_out, GUID **gu
ids[i] = HeapAlloc(GetProcessHeap(), 0, name_size);
oss_dev = HeapAlloc(GetProcessHeap(), 0, offsetof(OSSDevice, devnode[dev_size]));
if(!ids[i] || !oss_dev){
- HeapFree(GetProcessHeap, 0, oss_dev);
+ HeapFree(GetProcessHeap(), 0, oss_dev);
params.result = E_OUTOFMEMORY;
goto end;
}
--
GitLab
https://gitlab.winehq.org/wine/wine/-/merge_requests/113
More information about the wine-devel
mailing list