NTSTATUS Status = STATUS_NOT_FOUND;
ANSI_STRING AnsiName;
- RtlInitUnicodeString(pNameW, NULL);
+ RtlFreeUnicodeString(pNameW);
Count = FT_Get_Sfnt_Name_Count(Face);
for (i = 0; i < Count; ++i)
else
{
UNICODE_STRING NameW;
+ RtlInitUnicodeString(&NameW, NULL);
status = IntGetFontLocalizedName(&NameW, Face, TT_NAME_ID_FONT_FAMILY,
gusLanguageID);
if (NT_SUCCESS(status))
{
DPRINT1("Conversion failed\n");
ExFreePoolWithTag(NewEntry, TAG_FONT);
+ FT_Bitmap_Done(GlyphSlot->library, &AlignedBitmap);
FT_Done_Glyph((FT_Glyph)BitmapGlyph);
return NULL;
}