Fix memory leak.
Already sent & committed upstream: 06f65740b2

svn path=/trunk/; revision=54628
This commit is contained in:
Pierre Schweitzer 2011-12-09 20:51:43 +00:00
parent 8dd55da5d6
commit a21d3b9a41

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);