- Fix a typo -- check if memory allocation failed instead of checking if a variable's stack address is NULL.

svn path=/trunk/; revision=42943
This commit is contained in:
Stefan Ginsberg
2009-08-26 17:41:01 +00:00
parent f11466d9c0
commit ff4df4d6b2
+1 -1
View File
@@ -237,7 +237,7 @@ SeCaptureLuidAndAttributesArray (PLUID_AND_ATTRIBUTES Src,
*Dest = ExAllocatePool(PoolType,
BufferSize);
if (&Dest == NULL)
if (*Dest == NULL)
{
return STATUS_INSUFFICIENT_RESOURCES;
}