[WINLOGON]

Fixed bug of the month. I'm surprised that winlogon worked at all.

svn path=/trunk/; revision=47177
This commit is contained in:
Eric Kohl 2010-05-12 19:10:04 +00:00
parent 291fb765f3
commit 6899eeb7b6

View file

@ -66,7 +66,7 @@ CreateUserEnvironment(IN PWLSESSION Session,
}
/* Allocate enough memory */
lpFullEnviron = HeapAlloc(GetProcessHeap, 0, (EnvBlockSize + ProfileSize + 1) * sizeof(WCHAR));
lpFullEnviron = HeapAlloc(GetProcessHeap(), 0, (EnvBlockSize + ProfileSize + 1) * sizeof(WCHAR));
if (!lpFullEnviron)
{
TRACE("HeapAlloc() failed\n");