Fix GDITAG_LDE/TAG_LDE mess

svn path=/trunk/; revision=51142
This commit is contained in:
Rafal Harabien 2011-03-25 22:49:30 +00:00
parent eeaccfdfe1
commit 00cfa29229
2 changed files with 3 additions and 6 deletions

View file

@ -103,7 +103,7 @@ LDEVOBJ_vFreeLDEV(PLDEVOBJ pldev)
ASSERT(pldev && pldev->pGdiDriverInfo == NULL);
/* Free the memory */
ExFreePoolWithTag(pldev, TAG_LDEV);
ExFreePoolWithTag(pldev, GDITAG_LDEV);
}
PDEVMODEINFO
@ -145,7 +145,7 @@ LDEVOBJ_pdmiGetModes(
{
/* 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 @@ LDEVOBJ_bLoadImage(
pstrPathName->Buffer, Status);
/* Free the allocated memory */
ExFreePoolWithTag(pDriverInfo, TAG_LDEV);
ExFreePoolWithTag(pDriverInfo, GDITAG_LDEV);
return FALSE;
}

View file

@ -5,9 +5,6 @@
#endif
extern IMAGE_DOS_HEADER __ImageBase;
#define TAG_LDEV 'Gldv'
#define GDI_ENGINE_VERSION DDI_DRIVER_VERSION_NT5_01
typedef enum