[PATCH] winecoreaudio.drv: Fix copy-paste typo

Andrew Eikum aeikum at codeweavers.com
Wed Jul 10 15:00:31 CDT 2013


---
 dlls/winecoreaudio.drv/mmdevdrv.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/winecoreaudio.drv/mmdevdrv.c b/dlls/winecoreaudio.drv/mmdevdrv.c
index 7264147..d4250a7 100644
--- a/dlls/winecoreaudio.drv/mmdevdrv.c
+++ b/dlls/winecoreaudio.drv/mmdevdrv.c
@@ -429,7 +429,7 @@ HRESULT WINAPI AUDDRV_GetEndpointIDs(EDataFlow flow, WCHAR ***ids,
     }
 
     *guids = HeapAlloc(GetProcessHeap(), 0, ndevices * sizeof(GUID));
-    if(!*ids){
+    if(!*guids){
         HeapFree(GetProcessHeap(), 0, *ids);
         HeapFree(GetProcessHeap(), 0, devices);
         return E_OUTOFMEMORY;
-- 
1.8.3.2




More information about the wine-patches mailing list