[ros-diffs] [pschweitzer] 53793: [NTDLL] Fix broken if condition

pschweitzer at svn.reactos.org pschweitzer at svn.reactos.org
Wed Sep 21 19:37:15 UTC 2011


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?rev=53793&r1=53792&r2=53793&view=diff
==============================================================================
--- 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;




More information about the Ros-diffs mailing list