Skip to content
Snippets Groups Projects
Commit dfcd8f85 authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard
Browse files

gdi32: Fix fontconfig objects leak (Valgrind).

parent 2d16e6e5
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment