usp10: Fix memory leak.

This commit is contained in:
Pierre Schweitzer 2011-12-08 22:58:56 +01:00 committed by Alexandre Julliard
parent 38c3cde6fd
commit 06f65740b2
1 changed files with 1 additions and 0 deletions

View File

@ -1464,6 +1464,7 @@ HRESULT WINAPI ScriptStringAnalyse(HDC hdc, const void *pString, int cString,
if (!glyphs || !pwLogClust || !piAdvance || !psva || !pGoffset || !abc)
{
heap_free (BidiLevel);
heap_free (glyphs);
heap_free (pwLogClust);
heap_free (piAdvance);