[PATCH] dwrite/tests: Fix object instance leak (Valgrind)
Nikolay Sivov
nsivov at codeweavers.com
Mon Oct 16 03:55:39 CDT 2017
Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
---
dlls/dwrite/tests/font.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/dlls/dwrite/tests/font.c b/dlls/dwrite/tests/font.c
index 4adb02218f..c28f27a705 100644
--- a/dlls/dwrite/tests/font.c
+++ b/dlls/dwrite/tests/font.c
@@ -7924,6 +7924,9 @@ static void test_inmemory_file_loader(void)
IDWriteFontFileStream_Release(stream);
IDWriteFontFace_Release(fontface);
+ ref = IDWriteInMemoryFontFileLoader_Release(inmemory);
+ ok(ref == 0, "loader not released, %u.\n", ref);
+
ref = IDWriteFactory5_Release(factory);
ok(ref == 0, "factory not released, %u\n", ref);
}
--
2.14.2
More information about the wine-patches
mailing list