Pierre Schweitzer : usp10: Fix memory leak.
Module: wine Branch: master Commit: 06f65740b2efc23ff6520cef44ea73fc79409e0a URL: http://source.winehq.org/git/wine.git/?a=commit;h=06f65740b2efc23ff6520cef44... Author: Pierre Schweitzer <pierre(a)reactos.org> Date: Thu Dec 8 22:58:56 2011 +0100 usp10: Fix memory leak. --- dlls/usp10/usp10.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/dlls/usp10/usp10.c b/dlls/usp10/usp10.c index 1506bd5..359d4a3 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);
participants (1)
-
Alexandre Julliard