From 6d5d5b6293b133eb7748abf31597c265e32cad8a Mon Sep 17 00:00:00 2001 From: Aleksey Bragin Date: Wed, 3 Oct 2007 20:30:41 +0000 Subject: [PATCH] - Fix ExAllocatePoolWithTag with a 0 tag. svn path=/trunk/; revision=29385 --- reactos/ntoskrnl/config/cmsysini.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reactos/ntoskrnl/config/cmsysini.c b/reactos/ntoskrnl/config/cmsysini.c index eb45f77cd55..76f7cc16892 100644 --- a/reactos/ntoskrnl/config/cmsysini.c +++ b/reactos/ntoskrnl/config/cmsysini.c @@ -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 */