Author: sginsberg
Date: Wed Aug 26 19:41:01 2009
New Revision: 42943
URL:
http://svn.reactos.org/svn/reactos?rev=42943&view=rev
Log:
- Fix a typo -- check if memory allocation failed instead of checking if a variable's
stack address is NULL.
Modified:
trunk/reactos/ntoskrnl/se/priv.c
Modified: trunk/reactos/ntoskrnl/se/priv.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/se/priv.c?rev=429…
==============================================================================
--- trunk/reactos/ntoskrnl/se/priv.c [iso-8859-1] (original)
+++ trunk/reactos/ntoskrnl/se/priv.c [iso-8859-1] Wed Aug 26 19:41:01 2009
@@ -237,7 +237,7 @@
*Dest = ExAllocatePool(PoolType,
BufferSize);
- if (&Dest == NULL)
+ if (*Dest == NULL)
{
return STATUS_INSUFFICIENT_RESOURCES;
}