[ros-diffs] [fireball] 29385: - Fix ExAllocatePoolWithTag with a 0 tag.
fireball at svn.reactos.org
fireball at svn.reactos.org
Wed Oct 3 22:30:41 CEST 2007
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?rev=29385&r1=29384&r2=29385&view=diff
==============================================================================
--- 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 */
More information about the Ros-diffs
mailing list