[WINLOGON]
authorEric Kohl <eric.kohl@reactos.org>
Wed, 12 May 2010 19:10:04 +0000 (19:10 +0000)
committerEric Kohl <eric.kohl@reactos.org>
Wed, 12 May 2010 19:10:04 +0000 (19:10 +0000)
Fixed bug of the month. I'm surprised that winlogon worked at all.

svn path=/trunk/; revision=47177

reactos/base/system/winlogon/environment.c

index f0beeba..4d349fe 100644 (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");