Author: pschweitzer
Date: Wed Sep 21 19:37:15 2011
New Revision: 53793
URL:
http://svn.reactos.org/svn/reactos?rev=53793&view=rev
Log:
[NTDLL]
Fix broken if condition
Modified:
trunk/reactos/dll/ntdll/ldr/ldrinit.c
Modified: trunk/reactos/dll/ntdll/ldr/ldrinit.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/ntdll/ldr/ldrinit.c?re…
==============================================================================
--- trunk/reactos/dll/ntdll/ldr/ldrinit.c [iso-8859-1] (original)
+++ trunk/reactos/dll/ntdll/ldr/ldrinit.c [iso-8859-1] Wed Sep 21 19:37:15 2011
@@ -206,7 +206,7 @@
KeyValueInformation = RtlAllocateHeap(RtlGetProcessHeap(),
0,
KeyInfoSize);
- if (KeyInfo == NULL)
+ if (KeyValueInformation == NULL)
{
/* Give up this time */
Status = STATUS_NO_MEMORY;