Author: fireball
Date: Thu Oct 4 00:30:41 2007
New Revision: 29385
URL:
http://svn.reactos.org/svn/reactos?rev=29385&view=rev
Log:
- Fix ExAllocatePoolWithTag with a 0 tag.
Modified:
trunk/reactos/ntoskrnl/config/cmsysini.c
Modified: trunk/reactos/ntoskrnl/config/cmsysini.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/config/cmsysini.c…
==============================================================================
--- trunk/reactos/ntoskrnl/config/cmsysini.c (original)
+++ trunk/reactos/ntoskrnl/config/cmsysini.c Thu Oct 4 00:30:41 2007
@@ -447,7 +447,7 @@
/* Allocate the unicode buffer */
Length = LoadString.Length * sizeof(WCHAR) + sizeof(UNICODE_NULL);
- Buffer = ExAllocatePoolWithTag(PagedPool, Length, 0);
+ Buffer = ExAllocatePoolWithTag(PagedPool, Length, TAG_CM);
if (!Buffer)
{
/* Fail */