Changed the allocation function from ExAllocatePool to ExAllocatePoolWithTag in ExpDefaultAllocate.

svn path=/trunk/; revision=3579
This commit is contained in:
Hartmut Birr 2002-09-30 20:52:23 +00:00
parent 7a4a78d0b1
commit 2b72f3d894

View file

@ -1,4 +1,4 @@
/* $Id: lookas.c,v 1.6 2002/09/08 10:23:19 chorns Exp $
/* $Id: lookas.c,v 1.7 2002/09/30 20:52:23 hbirr Exp $
*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS kernel
@ -73,7 +73,7 @@ ExpDefaultAllocate(POOL_TYPE PoolType,
* Pointer to allocated memory, or NULL if there is not enough free resources
*/
{
return ExAllocatePool(PoolType, NumberOfBytes);
return ExAllocatePoolWithTag(PoolType, NumberOfBytes, Tag);
}