Commit d5d86359 authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

dwrite: Fix file object leak.

parent f5b6563b
......@@ -2408,6 +2408,7 @@ static HRESULT WINAPI dwritefontcollection_GetFontFromFontFace(IDWriteFontCollec
if (found_font)
break;
}
IDWriteFontFile_Release(file);
if (!found_font)
return DWRITE_E_NOFONT;
......
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