avrt: Fix HeapAlloc call in AvSetMmThreadCharacteristicsA.

This commit is contained in:
Maarten Lankhorst 2009-11-19 11:49:09 +01:00 committed by Alexandre Julliard
parent 9e73769112
commit 456ad1b1cf
1 changed files with 1 additions and 1 deletions

View File

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