- Fix a typo -- check if memory allocation failed instead of checking if a variable...
authorStefan Ginsberg <stefanginsberg@gmail.com>
Wed, 26 Aug 2009 17:41:01 +0000 (17:41 +0000)
committerStefan Ginsberg <stefanginsberg@gmail.com>
Wed, 26 Aug 2009 17:41:01 +0000 (17:41 +0000)
svn path=/trunk/; revision=42943

reactos/ntoskrnl/se/priv.c

index ff1efa9..d7d3bf9 100644 (file)
@@ -237,7 +237,7 @@ SeCaptureLuidAndAttributesArray (PLUID_AND_ATTRIBUTES Src,
         *Dest = ExAllocatePool(PoolType,
                                BufferSize);
         
-        if (&Dest == NULL)
+        if (*Dest == NULL)
         {
             return STATUS_INSUFFICIENT_RESOURCES;
         }