ASSERT(pldev && pldev->pGdiDriverInfo == NULL);
/* Free the memory */
- ExFreePoolWithTag(pldev, TAG_LDEV);
+ ExFreePoolWithTag(pldev, GDITAG_LDEV);
}
PDEVMODEINFO
{
/* Could not get modes */
DPRINT1("returned size %ld(%ld)\n", cbSize, pdminfo->cbdevmode);
- ExFreePool(pdminfo);
+ ExFreePoolWithTag(pdminfo, GDITAG_DEVMODE);
pdminfo = NULL;
}
pstrPathName->Buffer, Status);
/* Free the allocated memory */
- ExFreePoolWithTag(pDriverInfo, TAG_LDEV);
+ ExFreePoolWithTag(pDriverInfo, GDITAG_LDEV);
return FALSE;
}