[1/3] gdiplus/tests: Fix font leak.

Dmitry Timoshkov dmitry at baikal.ru
Sun Aug 26 22:52:42 CDT 2012


---
 dlls/gdiplus/tests/graphics.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/dlls/gdiplus/tests/graphics.c b/dlls/gdiplus/tests/graphics.c
index 1cd847d..db2542b 100644
--- a/dlls/gdiplus/tests/graphics.c
+++ b/dlls/gdiplus/tests/graphics.c
@@ -3836,6 +3836,8 @@ todo_wine
             expectf_(height, rect.Height, height / 15.0);
             expectf_(bounds.Width, rect.Width + margin * 2.0, bounds.Width / 15.0);
         }
+
+        GdipDeleteFont(font);
     }
 
     status = GdipDeleteGraphics(graphics);
-- 
1.7.11.5




More information about the wine-patches mailing list