Module: wine Branch: master Commit: 0746767d91dc3904b3920d99be9eedd9792994b9 URL: http://source.winehq.org/git/wine.git/?a=commit;h=0746767d91dc3904b3920d99be...
Author: Andrew Eikum aeikum@codeweavers.com Date: Wed Jul 10 15:00:31 2013 -0500
winecoreaudio.drv: Fix copy-paste typo.
---
dlls/winecoreaudio.drv/mmdevdrv.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
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;