mirror of
https://github.com/reactos/reactos.git
synced 2025-01-03 21:09:19 +00:00
[WIN32K]
Fix GDITAG_LDE/TAG_LDE mess svn path=/trunk/; revision=51142
This commit is contained in:
parent
eeaccfdfe1
commit
00cfa29229
2 changed files with 3 additions and 6 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue