Commit 456ad1b1 authored by Maarten Lankhorst's avatar Maarten Lankhorst Committed by Alexandre Julliard

avrt: Fix HeapAlloc call in AvSetMmThreadCharacteristicsA.

parent 9e737691
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment