[PATCH 13/13] avrt: Fix HeapAlloc call in AvSetMmThreadCharacteristicsA
Maarten Lankhorst
m.b.lankhorst at gmail.com
Thu Nov 19 04:49:09 CST 2009
---
dlls/avrt/main.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/avrt/main.c b/dlls/avrt/main.c
index c4e53dd..4552c6f 100644
--- a/dlls/avrt/main.c
+++ b/dlls/avrt/main.c
@@ -55,7 +55,7 @@ HANDLE WINAPI AvSetMmThreadCharacteristicsA(LPCSTR TaskName, LPDWORD TaskIndex)
if (TaskName)
{
DWORD len = (lstrlenA(TaskName)+1);
- str = HeapAlloc(GetProcessHeap, 0, len*sizeof(WCHAR));
+ str = HeapAlloc(GetProcessHeap(), 0, len*sizeof(WCHAR));
if (!str)
{
SetLastError(ERROR_OUTOFMEMORY);
--
1.6.5.2
--------------080407010404040509050708--
More information about the wine-patches
mailing list