gdi32: Fix fontconfig objects leak (Valgrind).
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com> Signed-off-by: Huw Davies <huw@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
2d16e6e59c
commit
dfcd8f85f1
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue