Maarten Lankhorst : avrt: Fix HeapAlloc call in AvSetMmThreadCharacteristicsA.

Alexandre Julliard julliard at winehq.org
Thu Nov 19 10:15:24 CST 2009


Module: wine
Branch: master
Commit: 456ad1b1cf88641fe4ac7face4d48b226533dbe5
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=456ad1b1cf88641fe4ac7face4d48b226533dbe5

Author: Maarten Lankhorst <m.b.lankhorst at gmail.com>
Date:   Thu Nov 19 11:49:09 2009 +0100

avrt: Fix HeapAlloc call in AvSetMmThreadCharacteristicsA.

---

 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);




More information about the wine-cvs mailing list