[2/3] gdiplus: Fix font leak.
Dmitry Timoshkov
dmitry at baikal.ru
Sun Aug 26 22:53:24 CDT 2012
---
dlls/gdiplus/graphicspath.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/dlls/gdiplus/graphicspath.c b/dlls/gdiplus/graphicspath.c
index 8533902..80d9244 100644
--- a/dlls/gdiplus/graphicspath.c
+++ b/dlls/gdiplus/graphicspath.c
@@ -971,6 +971,7 @@ GpStatus WINGDIPAPI GdipAddPathString(GpPath* path, GDIPCONST WCHAR* string, INT
return status;
get_log_fontW(font, NULL, &lfw);
+ GdipDeleteFont(font);
hfont = CreateFontIndirectW(&lfw);
if (!hfont)
{
--
1.7.11.5
More information about the wine-patches
mailing list