usp10: Fix a memory leak.

Found by Valgrind.
This commit is contained in:
Hans Leidekker 2009-12-07 09:18:58 +01:00 committed by Alexandre Julliard
parent 3840de5b1e
commit 7d3f37fcbd
1 changed files with 2 additions and 0 deletions

View File

@ -923,7 +923,9 @@ HRESULT WINAPI ScriptStringFree(SCRIPT_STRING_ANALYSIS *pssa)
TRACE("(%p)\n", pssa);
if (!pssa || !(analysis = *pssa)) return E_INVALIDARG;
invalid = analysis->invalid;
ScriptFreeCache((SCRIPT_CACHE *)&analysis->sc);
for (i = 0; i < analysis->numItems; i++)
{