[PATCH] dwrite/tests: Fix another factory leak (Valgrind)
Nikolay Sivov
nsivov at codeweavers.com
Sun Dec 16 23:16:12 CST 2018
Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
---
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 aa1562ee32..3f4128986c 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);
}
--
2.19.2
More information about the wine-devel
mailing list