Author: gschneider
Date: Sun Jun 6 20:51:43 2010
New Revision: 47634
URL:
http://svn.reactos.org/svn/reactos?rev=47634&view=rev
Log:
[WIN32K] Use TAG_GDIICM tag for ICM allocations
Modified:
trunk/reactos/subsystems/win32/win32k/objects/icm.c
Modified: trunk/reactos/subsystems/win32/win32k/objects/icm.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/ob…
==============================================================================
--- trunk/reactos/subsystems/win32/win32k/objects/icm.c [iso-8859-1] (original)
+++ trunk/reactos/subsystems/win32/win32k/objects/icm.c [iso-8859-1] Sun Jun 6 20:51:43
2010
@@ -146,7 +146,7 @@
return FALSE;
}
- SafeRamp = ExAllocatePool(PagedPool, sizeof(GAMMARAMP));
+ SafeRamp = ExAllocatePoolWithTag(PagedPool, sizeof(GAMMARAMP), TAG_GDIICM);
if (!SafeRamp)
{
DC_UnlockDc(dc);
@@ -174,7 +174,7 @@
_SEH2_END;
DC_UnlockDc(dc);
- ExFreePool(SafeRamp);
+ ExFreePoolWithTag(SafeRamp, TAG_GDIICM);
if (!NT_SUCCESS(Status))
{
@@ -377,7 +377,7 @@
return FALSE;
}
- SafeRamp = ExAllocatePool(PagedPool, sizeof(GAMMARAMP));
+ SafeRamp = ExAllocatePoolWithTag(PagedPool, sizeof(GAMMARAMP), TAG_GDIICM);
if (!SafeRamp)
{
DC_UnlockDc(dc);
@@ -402,14 +402,14 @@
if (!NT_SUCCESS(Status))
{
DC_UnlockDc(dc);
- ExFreePool(SafeRamp);
+ ExFreePoolWithTag(SafeRamp, TAG_GDIICM);
SetLastNtError(Status);
return FALSE;
}
Ret = IntSetDeviceGammaRamp((HDEV)dc->ppdev, SafeRamp, TRUE);
DC_UnlockDc(dc);
- ExFreePool(SafeRamp);
+ ExFreePoolWithTag(SafeRamp, TAG_GDIICM);
return Ret;
}