Commit 0f67df65 authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

dwrite: Fix a leak on error path.

parent f6862b13
......@@ -4054,6 +4054,7 @@ static HRESULT init_textlayout(const WCHAR *str, UINT32 len, IDWriteTextFormat *
free_layout_range(strike);
free_layout_range(effect);
free_layout_range(spacing);
free_layout_range(typography);
hr = E_OUTOFMEMORY;
goto fail;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment