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

gdi32: Fix fontconfig objects leak (Valgrind).

parent 2d16e6e5
...@@ -5279,8 +5279,8 @@ found: ...@@ -5279,8 +5279,8 @@ found:
TRACE("got %s\n", wine_dbgstr_w(nameW)); TRACE("got %s\n", wine_dbgstr_w(nameW));
end: end:
if (!pat) pFcPatternDestroy(pat); pFcPatternDestroy(pat);
if (!best) pFcPatternDestroy(best); pFcPatternDestroy(best);
return family; return family;
} }
#endif #endif
......
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