From e3a29a6c1d3f4655ccee888588f7449487f1778d Mon Sep 17 00:00:00 2001 From: Nikolay Sivov Date: Mon, 16 Oct 2017 11:55:39 +0300 Subject: [PATCH] dwrite/tests: Fix object instance leak (Valgrind). Signed-off-by: Nikolay Sivov Signed-off-by: Alexandre Julliard --- 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 4adb02218f8..c28f27a7058 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.11.4.GIT