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:
TRACE("got %s\n", wine_dbgstr_w(nameW));
end:
if (!pat) pFcPatternDestroy(pat);
if (!best) pFcPatternDestroy(best);
pFcPatternDestroy(pat);
pFcPatternDestroy(best);
return family;
}
#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