Fix broken if condition

svn path=/trunk/; revision=53793
This commit is contained in:
Pierre Schweitzer 2011-09-21 19:37:15 +00:00
parent b7f5be021d
commit a694d0b795

View file

@ -206,7 +206,7 @@ LdrQueryImageFileKeyOption(IN HKEY KeyHandle,
KeyValueInformation = RtlAllocateHeap(RtlGetProcessHeap(),
0,
KeyInfoSize);
if (KeyInfo == NULL)
if (KeyValueInformation == NULL)
{
/* Give up this time */
Status = STATUS_NO_MEMORY;