mirror of
https://github.com/reactos/reactos.git
synced 2025-01-05 22:12:46 +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);
|
ASSERT(pldev && pldev->pGdiDriverInfo == NULL);
|
||||||
|
|
||||||
/* Free the memory */
|
/* Free the memory */
|
||||||
ExFreePoolWithTag(pldev, TAG_LDEV);
|
ExFreePoolWithTag(pldev, GDITAG_LDEV);
|
||||||
}
|
}
|
||||||
|
|
||||||
PDEVMODEINFO
|
PDEVMODEINFO
|
||||||
|
@ -145,7 +145,7 @@ LDEVOBJ_pdmiGetModes(
|
||||||
{
|
{
|
||||||
/* Could not get modes */
|
/* Could not get modes */
|
||||||
DPRINT1("returned size %ld(%ld)\n", cbSize, pdminfo->cbdevmode);
|
DPRINT1("returned size %ld(%ld)\n", cbSize, pdminfo->cbdevmode);
|
||||||
ExFreePool(pdminfo);
|
ExFreePoolWithTag(pdminfo, GDITAG_DEVMODE);
|
||||||
pdminfo = NULL;
|
pdminfo = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -192,7 +192,7 @@ LDEVOBJ_bLoadImage(
|
||||||
pstrPathName->Buffer, Status);
|
pstrPathName->Buffer, Status);
|
||||||
|
|
||||||
/* Free the allocated memory */
|
/* Free the allocated memory */
|
||||||
ExFreePoolWithTag(pDriverInfo, TAG_LDEV);
|
ExFreePoolWithTag(pDriverInfo, GDITAG_LDEV);
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -5,9 +5,6 @@
|
||||||
#endif
|
#endif
|
||||||
extern IMAGE_DOS_HEADER __ImageBase;
|
extern IMAGE_DOS_HEADER __ImageBase;
|
||||||
|
|
||||||
|
|
||||||
#define TAG_LDEV 'Gldv'
|
|
||||||
|
|
||||||
#define GDI_ENGINE_VERSION DDI_DRIVER_VERSION_NT5_01
|
#define GDI_ENGINE_VERSION DDI_DRIVER_VERSION_NT5_01
|
||||||
|
|
||||||
typedef enum
|
typedef enum
|
||||||
|
|
Loading…
Reference in a new issue