From 06f65740b2efc23ff6520cef44ea73fc79409e0a Mon Sep 17 00:00:00 2001 From: Pierre Schweitzer Date: Thu, 8 Dec 2011 22:58:56 +0100 Subject: [PATCH] usp10: Fix memory leak. --- dlls/usp10/usp10.c | 1 + 1 file changed, 1 insertion(+) diff --git a/dlls/usp10/usp10.c b/dlls/usp10/usp10.c index 1506bd5848b..359d4a3b82d 100644 --- a/dlls/usp10/usp10.c +++ b/dlls/usp10/usp10.c @@ -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); -- 2.11.4.GIT