Author: rharabien Date: Fri Mar 25 22:49:30 2011 New Revision: 51142
URL: http://svn.reactos.org/svn/reactos?rev=51142&view=rev Log: [WIN32K]
Fix GDITAG_LDE/TAG_LDE mess
Modified: trunk/reactos/subsystems/win32/win32k/eng/ldevobj.c trunk/reactos/subsystems/win32/win32k/include/ldevobj.h
Modified: trunk/reactos/subsystems/win32/win32k/eng/ldevobj.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/eng... ============================================================================== --- trunk/reactos/subsystems/win32/win32k/eng/ldevobj.c [iso-8859-1] (original) +++ trunk/reactos/subsystems/win32/win32k/eng/ldevobj.c [iso-8859-1] Fri Mar 25 22:49:30 2011 @@ -103,7 +103,7 @@ ASSERT(pldev && pldev->pGdiDriverInfo == NULL);
/* Free the memory */ - ExFreePoolWithTag(pldev, TAG_LDEV); + ExFreePoolWithTag(pldev, GDITAG_LDEV); }
PDEVMODEINFO @@ -145,7 +145,7 @@ { /* Could not get modes */ DPRINT1("returned size %ld(%ld)\n", cbSize, pdminfo->cbdevmode); - ExFreePool(pdminfo); + ExFreePoolWithTag(pdminfo, GDITAG_DEVMODE); pdminfo = NULL; }
@@ -192,7 +192,7 @@ pstrPathName->Buffer, Status);
/* Free the allocated memory */ - ExFreePoolWithTag(pDriverInfo, TAG_LDEV); + ExFreePoolWithTag(pDriverInfo, GDITAG_LDEV); return FALSE; }
Modified: trunk/reactos/subsystems/win32/win32k/include/ldevobj.h URL: http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/inc... ============================================================================== --- trunk/reactos/subsystems/win32/win32k/include/ldevobj.h [iso-8859-1] (original) +++ trunk/reactos/subsystems/win32/win32k/include/ldevobj.h [iso-8859-1] Fri Mar 25 22:49:30 2011 @@ -4,9 +4,6 @@ #define __ImageBase _image_base__ #endif extern IMAGE_DOS_HEADER __ImageBase; - - -#define TAG_LDEV 'Gldv'
#define GDI_ENGINE_VERSION DDI_DRIVER_VERSION_NT5_01