Nikolay Sivov : dwrite/tests: Fixed font instance leak.

Alexandre Julliard julliard at wine.codeweavers.com
Mon Feb 23 09:04:43 CST 2015


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

Author: Nikolay Sivov <nsivov at codeweavers.com>
Date:   Fri Feb 20 13:48:37 2015 +0300

dwrite/tests: Fixed font instance leak.

---

 dlls/dwrite/tests/font.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dlls/dwrite/tests/font.c b/dlls/dwrite/tests/font.c
index d171411..95ba5aa 100644
--- a/dlls/dwrite/tests/font.c
+++ b/dlls/dwrite/tests/font.c
@@ -2240,6 +2240,7 @@ static void test_GetGdiInterop(void)
 
     hr = IDWriteGdiInterop_CreateFontFromLOGFONT(interop2, &logfont, &font);
     ok(hr == S_OK, "got 0x%08x\n", hr);
+    IDWriteFont_Release(font);
 
     IDWriteGdiInterop_Release(interop2);
     IDWriteGdiInterop_Release(interop);




More information about the wine-cvs mailing list