mirror of
https://github.com/reactos/reactos.git
synced 2024-07-23 20:58:16 +00:00
- Fix ExAllocatePoolWithTag with a 0 tag.
svn path=/trunk/; revision=29385
This commit is contained in:
parent
7d65442299
commit
6d5d5b6293
|
@ -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 */
|
||||
|
|
Loading…
Reference in a new issue