Dmitry Timoshkov : gdiplus/tests: Fix font leak.

Alexandre Julliard julliard at winehq.org
Mon Aug 27 14:35:04 CDT 2012


Module: wine
Branch: master
Commit: 31544a73da14830da036e04e46b18fa798fce460
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=31544a73da14830da036e04e46b18fa798fce460

Author: Dmitry Timoshkov <dmitry at baikal.ru>
Date:   Mon Aug 27 14:11:40 2012 +0900

gdiplus/tests: Fix font leak.

---

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

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);




More information about the wine-cvs mailing list