usp10: Fix a memory leak in GDEF_UpdateGlyphProps().

This commit is contained in:
Henri Verbeet 2011-06-07 19:44:45 +02:00 committed by Alexandre Julliard
parent 350c93a164
commit 90cf60c796
1 changed files with 2 additions and 0 deletions

View File

@ -1322,6 +1322,8 @@ static void GDEF_UpdateGlyphProps(HDC hdc, const WORD *pwGlyphs, const WORD cGly
pGlyphProp[i].sva.fZeroWidth = 0;
}
}
HeapFree(GetProcessHeap(), 0, header);
}
static void UpdateClustersFromGlyphProp(const int cGlyphs, const int cChars, WORD* pwLogClust, SCRIPT_GLYPHPROP *pGlyphProp)