- Fix ExAllocatePoolWithTag with a 0 tag.

svn path=/trunk/; revision=29385
This commit is contained in:
Aleksey Bragin 2007-10-03 20:30:41 +00:00
parent 7d65442299
commit 6d5d5b6293

View file

@ -447,7 +447,7 @@ CmpInitializeSystemHive(IN PLOADER_PARAMETER_BLOCK LoaderBlock)
/* 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 */