Nikolay Sivov : dwrite/tests: Fix another factory leak (Valgrind).

Alexandre Julliard julliard at winehq.org
Mon Dec 17 15:36:38 CST 2018


Module: wine
Branch: master
Commit: 3d100f7d56fafd1c0bd1f6ecf2304e2e96457abf
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=3d100f7d56fafd1c0bd1f6ecf2304e2e96457abf

Author: Nikolay Sivov <nsivov at codeweavers.com>
Date:   Mon Dec 17 08:16:12 2018 +0300

dwrite/tests: Fix another factory leak (Valgrind).

Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

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

diff --git a/dlls/dwrite/tests/font.c b/dlls/dwrite/tests/font.c
index aa1562e..3f41289 100644
--- a/dlls/dwrite/tests/font.c
+++ b/dlls/dwrite/tests/font.c
@@ -8887,6 +8887,8 @@ static void test_localfontfileloader(void)
     IDWriteFontFileLoader_Release(loader2);
     ref = IDWriteFactory_Release(factory);
     ok(ref == 0, "factory not released, %u\n", ref);
+    ref = IDWriteFactory_Release(factory2);
+    ok(ref == 0, "factory not released, %u\n", ref);
     DELETE_FONTFILE(path);
 }
 




More information about the wine-cvs mailing list